Server Fault is a question and answer site for system and network administrators. 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

Here is my problem:

We have a virtual machine on VMware ESXi with CentOS 6.3 system (devserver). We use port forwarding to access ports on the virtual machine.

We deploy our application in tomcat on the devserver (Tomcat7,JDK7)

Iptables is disabled.

After deployment, ActiveMQ start to listen on 60001 port. The application on 8080 works fine:

  1. we can access it from another VM in ESXi subnet, using port 8080
  2. and from internet we can access it on port 8585, which is forwarded to port 8080 on the devserver
  3. our client tries to listen on 60001 for ActiveMQ broker, but that port is closed!

When I check port 60001 with nmap on localhost and on, it is open:

nmap -v -sV localhost -p 60001
60001/tcp open  activemq Apache ActiveMQ

And when I try to access it using the external IP, it is closed:

nmap -v -sV -p 60001
60001/tcp closed unknown

netstat -an | grep 60001
tcp        0      0 ::ffff:      :::*                        LISTEN

service iptables status
Firewall is not running.

Where do I start searching for the solution?...

share|improve this question
up vote 1 down vote accepted

I don't know ActiveMQ, but from netstat you can see, that it listens only on localhost: "". Try to check documentation about listening IP .There is similar question on stackoverflow

share|improve this answer
So, is it application problem, and not system configuration? – Artyom Mar 7 '13 at 9:31
Yes, application says which IP and port need. As I wrote, I don't know Active MQ - in documentation is something about XML config file with transportConnector options – stderr Mar 7 '13 at 13:40
Yes, it was ActiveMQ Broker configuration: localhost:60001 -> – Artyom Mar 7 '13 at 14:47

Your Answer


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.