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


Recommended Posts

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 comment
Share on other sites

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

 

or am i missing something?

Link to comment
Share on other sites

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 comment
Share on other sites

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 comment
Share on other sites

You can always use nmap:

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

Link to comment
Share on other sites

" 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

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.