-   Linux - Networking (
-   -   Accessing services running inside Vms. (

xeon123 08-16-2012 07:25 AM

Accessing services running inside Vms.
I've 2 virtual machines that are running in 2 different hosts the OS Ubuntu.

Their address are:


I can access from inside each Vm the other one through ssh. On each Vm, it is running my service at the port 54311. The addresses of the service are:

I'm running a program that tries to connect from one Vm the address of my service at the other Vm. But I always get the error:

Retrying connect to server: ubuntu-linux10/ Already tried 0 time(s).

Maybe the port of the service isn't reachable to the Vm1. How can I see which Vm10 services I can access? And, how can I put my service to be reachable?


kbp 08-16-2012 08:45 PM

Try running the following on each vm first and then we can see whether the local firewalls are blocking connections

iptables -L

All times are GMT -5. The time now is 01:27 PM.