Visit the LQ Articles and Editorials section
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 08-16-2012, 07:25 AM   #1
Registered: Sep 2006
Posts: 373

Rep: Reputation: 16
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?

Old 08-16-2012, 08:45 PM   #2
Senior Member
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 650Reputation: 650Reputation: 650Reputation: 650Reputation: 650Reputation: 650
Try running the following on each vm first and then we can see whether the local firewalls are blocking connections
iptables -L


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Running multiple desktop VMs lmann Linux - Virtualization and Cloud 3 07-01-2012 12:04 PM
[SOLVED] Accessing /proc from inside a VM dazdaz Linux - Virtualization and Cloud 4 05-20-2012 12:46 PM
Running Multiple VMs on a Limited RAM Hi_This_is_Dev Linux - Virtualization and Cloud 7 09-26-2010 09:39 AM
[Tcptraceroute/Traceroute/Ping] Windows VMs & Linux VMs BiFo Linux - Networking 0 08-24-2010 03:07 PM
accessing variables inside a function bahadur Programming 1 03-27-2005 05:41 AM

All times are GMT -5. The time now is 10:53 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration