I am running CentOS 6.6 as VM on VirtualBox with NAT enabled. I also have a zeus web server running on the VM. Setup is the following.
Host =====SSH====== VM ========= Web Server MacOS CentOS 6.6 Zeus
With port forwarding, I can ssh into the VM(port22) and I can access the admin page of zeus web server(port9090). However, when I try to port forward arbitrary numbers like 8080 for a website, browser access or wget don't work.
Host-Port VM-Port Connection 2222 22 Works fine 9090 9090 Works fine 8080 8080 ??
I tried using ncat to isolate if the issue stems from zeus web server or port forwarding but the result seems to be a port forwarding issue.
$sudo ncat -lk 9090 GET / HTTP/1.1 User-Agent: Wget/1.18 (darwin15.5.0) $sudo ncat -lk 8080 #nothing
What should be my next troubleshooting step and does anyone know what I might be doing wrong?