Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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?

share|improve this question
add comment

1 Answer

up vote 2 down vote accepted

Ok, it was firewall problem.

service iptables stop
chkconfig iptables off
share|improve this answer
    
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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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