Changing web port to 80 does not work

Bug reports and questions about running Virtual Radar Server on Linux
Post Reply
nimzok
Posts: 6
Joined: Sat Dec 14, 2019 7:28 pm

Changing web port to 80 does not work

Post by nimzok »

Tried to change default web port 8080 to 80 by editing InstallerConfiguration.xml as described on https://www.virtualradarserver.co.uk/Mono.aspx.
However, running VRS ends up with the error message below.

What am I ding wrong?
Cannot start the web server on port 80
Possible Solution
If the web server cannot start because another program is listening to the port
then run the Virtual Radar Server installer again and choose a different port.
Confirmed many times port 80 is not occupied on my server:
spottair@debian:~$ sudo nmap -sT -O localhost
Starting Nmap 7.70 ( https://nmap.org ) at 2021-07-24 12:50 EDT
Nmap scan report for localhost (127.0.0.1)
Host is up (0.00020s latency).
Other addresses for localhost (not scanned): ::1
Not shown: 997 closed ports
PORT STATE SERVICE
22/tcp open ssh
8084/tcp open unknown
8090/tcp open opsmessaging
Device type: general purpose
Running: Linux 2.6.X
OS CPE: cpe:/o:linux:linux_kernel:2.6.32
OS details: Linux 2.6.32
Network Distance: 0 hops
pakon
Posts: 19
Joined: Tue Sep 08, 2020 11:32 am
Location: Berlin, Germany
Contact:

Re: Changing web port to 80 does not work

Post by pakon »

Hey,

to open low ports you often need root-access.

1) start vrs as root (not recomended)
2) use ngix/apache as reverse proxy to serve via port 80.

Cheers,
Pakon
Post Reply