Issues portforwarding.

Bug reports and questions about running Virtual Radar Server on Linux
Post Reply
aalested
Posts: 14
Joined: Fri Feb 22, 2013 10:48 am

Issues portforwarding.

Post by aalested » Fri Feb 22, 2013 3:46 pm

Hi.
I have installed Virtual Radar Server on my Ubuntu 12.04.

The ADSB receiver is a GR-AIR (the one for gnuradio)

GR-AIR exports it's data via PORT 30003
So the set up for localhos 127.0.0.1 is 30003

The port for my IP 192.168.1.10 is 82

SETUP IN ROUTER:
GR-AIR Yes TCP 30003 30003 30003 127.0.0.1
VRS Yes TCP 82 82 82 192.168.1.10

As soon I want to start up VRS, I get the info:

Cannot start the web server on port 82

I'm sure there is nothing, that occupies port 82

What can I do now ?

Erik

rtou
Posts: 15
Joined: Sun Nov 18, 2012 8:31 pm

Re: Issues portforwarding.

Post by rtou » Fri Feb 22, 2013 5:16 pm

Hi Erik

Try to run VRS as root.
You only need portforwarding if you want o access your server from the internet. No forwarding necessary for connecting anything inside the lan.

rtou

aalested
Posts: 14
Joined: Fri Feb 22, 2013 10:48 am

Re: Issues portforwarding.

Post by aalested » Fri Feb 22, 2013 5:25 pm

@rtou

Hi.

You are the man of the day :D

It works now, and many thanks for this nice info ;)

Erik

rtou
Posts: 15
Joined: Sun Nov 18, 2012 8:31 pm

Re: Issues portforwarding.

Post by rtou » Fri Feb 22, 2013 5:33 pm

You're welcome :)

rtou

aalested
Posts: 14
Joined: Fri Feb 22, 2013 10:48 am

Re: Issues portforwarding.

Post by aalested » Fri Feb 22, 2013 6:21 pm

Just one more :-)

As VRS works, it's not possible to open more browsers as it seems the opening is blocked by the VRS, or whatever it si.

Any idea ?

Erik

agw
Posts: 2241
Joined: Fri Feb 17, 2012 3:20 am

Re: Issues portforwarding.

Post by agw » Fri Feb 22, 2013 8:59 pm

If you do

Code: Select all

sudo lsof -i :82
then I think it'll show you a list of processes that are using port 82. If there's anything else listening to it then you'd be better off configuring VRS to listen to another port - ideally either 80 or one over 1024. If you use a port over 1024 then you probably won't have to run as root.

aalested
Posts: 14
Joined: Fri Feb 22, 2013 10:48 am

Re: Issues portforwarding.

Post by aalested » Sat Feb 23, 2013 7:54 am

Oh, forgot that I used port 8084 :-)

Now on port 82, and it works as was the intention.

Thanks again for a kind reply :D

Erik

cy80rg
Posts: 9
Joined: Sat Jan 31, 2015 9:58 pm

Re: Issues portforwarding.

Post by cy80rg » Mon Jan 16, 2017 6:11 pm

Hi all,

Sorry to bump an old thread, but should it be possible to get a headless, VRS on Rpi2 to show up on a public IP?

I see UPNP is unavailable on Mono, but have tried setting VRS to 8082 - server starts ok, can view locally, but trying to connect publicly from my dyndns service just 404's the VRS pages?

Have portforwarded through my router...

Is this even possible with Mono at this time?

Cheers :)

agw
Posts: 2241
Joined: Fri Feb 17, 2012 3:20 am

Re: Issues portforwarding.

Post by agw » Thu Feb 02, 2017 1:31 am

It's possible. If you can reach the server across the LAN then it'll be reachable from the Internet... as long as you have set up your port forwarding correctly.

When you're testing whether you can reach the server from the Internet don't try to do it from the LAN, a lot of routers will not port forward to themselves. Try disconnecting your phone from the LAN so that you're using your mobile network to test it instead.

Post Reply