Jump to content



Photo
Answered Go to the full post

  • Please log in to reply
6 replies to this topic

#1 Blueclub

Blueclub

    Neowinian

  • Joined: 15-October 05
  • Location: Karachi, Pakistan
  • OS: Windows 8.1 Pro x64
  • Phone: OnePlus One

Posted 23 June 2014 - 15:13

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.



Best Answer mcloum , 23 June 2014 - 15:27

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

Go to the full post



#2 Haggis

Haggis

    Neowinian Senior

  • Tech Issues Solved: 16
  • Joined: 13-June 07
  • Location: Near Stirling, Scotland
  • OS: Debian 7
  • Phone: Samsung Galaxy S3 LTE (i9305)

Posted 23 June 2014 - 15:21

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

 

or am i missing something?



#3 mcloum

mcloum

    Neowinian

  • Tech Issues Solved: 1
  • Joined: 07-November 02
  • Location: UK

Posted 23 June 2014 - 15:27   Best Answer

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



#4 OP Blueclub

Blueclub

    Neowinian

  • Joined: 15-October 05
  • Location: Karachi, Pakistan
  • OS: Windows 8.1 Pro x64
  • Phone: OnePlus One

Posted 23 June 2014 - 15:40

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!



#5 Walid W.

Walid W.

    I love Orcinus Orca

  • Tech Issues Solved: 3
  • Joined: 19-July 08
  • Location: Lost somewhere in Sweden
  • OS: Ubuntu, Debian, Backtrack 5r, Windows 7 & XP
  • Phone: iPhone 3GS, iPhone 4s & HTC One

Posted 23 June 2014 - 15:47

You can always use nmap:

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

#6 +RedReddington

RedReddington

    member_id=28229

  • Joined: 14-May 03

Posted 23 June 2014 - 18:52

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



#7 +BudMan

BudMan

    Neowinian Senior

  • Tech Issues Solved: 106
  • Joined: 04-July 02
  • Location: Schaumburg, IL
  • OS: Win7, Vista, 2k3, 2k8, XP, Linux, FreeBSD, OSX, etc. etc.

Posted 23 June 2014 - 19:34

" 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