• 0

How to check if I have access to a specific port on a virtual computer?


Go to solution Solved by mcloum,

Question

WAQT

I am trying to help a customer with this. They are having problems using a license server to distribute licenses to network clients, they are using a virtual server (VM Box) on the server itself to host the license server.

 

I am sure the problem is that the virtual server is not listening to the specific port (1400) on the physical server, and that is the reason why any client asking for a license through that port is not getting an answer. My customers are adamant about this not being the case, they say that they have made changes to VM Box to listen to the port.

 

Is there a way I can test this to make sure that the port is open upto the virtual server (VMWare is listening to the port on physical server)? I am able to Telnet to the port 1400 from a client computer, but that does not tell me if the virtual server is listening to it as well.

 

I am remotely supporting this, they are working to have access for me to the server, this might take time, so I need to be able to test it, they are willing to test but I am not sure what to do here.

 

If I am missing any information, let me know. Please know that network support is not what I do, but I like going above and beyond.

Link to post
Share on other sites

6 answers to this question

Recommended Posts

  • 0
mcloum

open command in elevated mode and use netstat

 

netstat -a -b

 

-a shows the connections and listening ports

-b shows the executable that is using the connection or listening port

Link to post
Share on other sites
  • 0
Haggis

Scan the IP address of the VM it will show you what ports are open

 

or am i missing something?

Link to post
Share on other sites
  • 0
WAQT

Scan the IP address of the VM it will show you what ports are open

 

or am i missing something?

That helps, let me Google how to do that.

 

 

open command in elevated mode and use netstat

netstat -a -b

-a shows the connections and listening ports

-b shows the executable that is using the connection or listening port

I think this is what I needed, thank you!

Link to post
Share on other sites
  • 0
nabz0r

You can always use nmap:

Nmap <ip address> -p 1400 (in your case)

Link to post
Share on other sites
  • 0
+John Teacake

I just telnet to it.See if you get a connection refused message or something......

Link to post
Share on other sites
  • 0
+BudMan

" Telnet to the port 1400 from a client computer, but that does not tell me if the virtual server is listening to it as well."

Question on the VM setup, is it bridged to the hosts network - ie what is the IP of the host, and what is the IP of the VM? If the vm is on some nat network of the host then you would have to port forward to the vm's IP on the host.

The netstat command (ran on the vm) will show you if vm is listening. But you need to be sure of the VMs network connectivity. What its IP is, going to be different than the host unless your natting. If your natting your going to have problems if the host is already listening on the port you need 1400

  • Like 1
Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.