0

I am building a reverse traffic server.

I have an external static ip address for a server that hosts multiple VM's

what I am wanting to do is call that ip address (or domain name) and add a port to it and that port will point to a VM on that server

for example:

http://server_ip:8080/ = http://VM.1.ip.address/

http://server_ip:8081/ = http://VM.2.ip.address/

http://server_ip:8082/ = http://VM.3.ip.address/

http://server_ip:8083/ = http://VM.4.ip.address/

is it a safe bet to use ports in as a range like that? I don't know a lot about ports but I do know port 8080 is used for web servers. My understanding is that free ports are fair game.

1

You are free to use whatever port you like. Most people prefer to use ports below 1000 for the majority of their services. This is because all ports below 1000 can be opened only by root, so malicious code will not be able to use your config files and open those ports for their purposes.

  • Thank you very much this is exactly what I was looking for. Is it possible to extend the port range that can only be opened by root? like lets say 1500 or below, perhaps? – Jermayne Williams Nov 27 '17 at 15:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.