Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .