Accessing services running inside Vms.
I've 2 virtual machines that are running in 2 different hosts the OS Ubuntu.
Their address are:
Vm1: 192.168.56.101
Vm10: 192.168.56.110
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:
Vm1: 192.168.56.101:54311
Vm10: 192.168.56.110:54311
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/192.168.56.110:54311. 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?
Thanks,
|