Unable to do Port Forwarding in Virtual Box
Posted
by
dewbot
on Super User
See other posts from Super User
or by dewbot
Published on 2011-08-15T13:51:13Z
Indexed on
2012/04/11
23:34 UTC
Read the original article
Hit count: 224
I'm using Mac OS X 10.6. I have installed Virtual Box 4.1.0 in it. My Guest OS is Ubuntu Server 11.04. I have added a rule in Port Forwarding in Virtual Box ->
"guestssh" TCP 127.0.1.1 8080 127.0.0.1 1337
Inside Guest OS I'm running nodejs server. Code is nothing but simple helloworld code found on their site http://nodejs.org/. In short I'm running server on 127.0.0.1 on 1337 Port.
Now according to rule I have given, from Host Machine all the requests for 127.0.1.1:8080 should be forwarded to 127.0.0.1:1337 of Guest OS. From Host I'm doing curl http://127.0.1.1:8080
and I'm getting curl: (7) couldn't connect to host Is there something am I doing wrong?
Note- Don't give me suggestion to do ssh n all. As my ISP does not provide Internal LAN so its not possible in my case. All I can do it Port Forwarding.
© Super User or respective owner