Problems to access tcp-server in VM

asked 2015-01-11 14:24:28 -0500

Vaniax gravatar image

Hi,

I'm running a Fedora 19 instance in openstack with a mysql server on it. In the dashboard I opened tcp port 3306 and it works fine. A Tomcat server on port 8080 works fine too and is accessible from the outside.

Currently I'm using a local java tcp-server which connects to the mysql server, but now I want to transfer the server to the VM. The server should listen on port 8081, so I opened inbound and outbound tcp port 8081. But I'm not able to connect to the server program (even with the simplest java server one can imagine). I'm not able to identify what the problem is. For test purposes I already opened the whole tcp port range, but nothing happens. In my local network structure the server\client programs works fine.

I would appreciate some help what I'm doing wrong here.

edit retag flag offensive close merge delete

Comments

Just for testing purposes can you at least connect to it while on the vm itself? For example: curl http://localhost:8081 -v can you post the output.

omar-munoz gravatar imageomar-munoz ( 2015-01-13 22:09:15 -0500 )edit