Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Running VMware player with Cent OS. Running a server in the virtual os and trying to connect to it from the host pc to no avail. I have tried bridged, NAT, and host-only type network connections. I am able to ping my virtual machine when in NAT mode but cannot connect to the server (which hosts on UDP ports ~11000)

share|improve this question

1 Answer 1

up vote 0 down vote accepted

Try going to the virtual machine and disabling iptables with sudo service iptables stop . Then try to connect. If it works, the firewall was blocking you.

share|improve this answer
    
Oh god damn, you have no idea how much I love you right now. I have been stuck on this the entire day. –  user228806 Jun 3 '13 at 20:21
    
Any chance you could tell me why this worked? :) –  user228806 Jun 3 '13 at 20:31
    
Because a firewall blocks ports, and you had a firewall turned on ( iptables is a firewall ). By default, I believe iptables is enabled on CentOS, and I guess it blocks that port (and many other high ports) given the default configuration. Glad to assist. –  Gregg Leventhal Jun 3 '13 at 20:40
    
To be sure iptables stays off after a reboot, do sudo chkconfig iptables off –  Gregg Leventhal Jun 3 '13 at 20:41

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.