3

I have got VirtualBox (Vagrant actually) with CentOs. I have got port forwarding there (NAT). For example, I have got some application in my box bound to port 8080. Port is forwarded. So I can connect to this port from my host and guest machine.

telnet 127.0.0.1 8080

But I can't execute anything from my host machine:

telnet 127.0.0.1 8080
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
HEAD / HTTP/1.0
....sleeeeeep.....

But it works from my vagrant ssh session.

How to fix it?

6

Ok, it was firewall problem.

service iptables stop
chkconfig iptables off
1
  • Glad you were able to resolve this issue. Please be sure to mark your answer as "accepted" when you are able. – jscott Jul 16 '12 at 12:58

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.