How can I debug internet server on Windows VirtualBox using NAT and port forwarding?

I am using a program called Memoq that listens on port 2705. I would like to make it accessible from the internet, but it is failing for unknown reasons.

The setup looks like this:
Internet -> Router -> Server -> Virtualbox computer with Memoq

I set the router to forward port 2705 to the server and Virtualbox to forward port 2705 from host to guest (using NAT). I disabled firewall on both computers (they run Windows).

If I try to telnet to port 2705 from virtualbox and server it works, but if i do the same from some other computer (internet or network) it fails.

I’m not a network expert, how could I find out what is wrong?

Answer

Your problem is most likely that you’re double-NAT’ing the traffic via both your router and the host server.

I would personally move the VM to use bridged networking, and then port-forward straight to the VM from your router.


I also agree wth HopelessN00b’s comment that you should be replacing VirtualBox with a decent hypervisor, such as HyperV on Windows.

Attribution
Source : Link , Question Author : SimZal , Answer Author : Craig Watson

Leave a Comment