I have a windows server 2008 machine which has qlikview application installed and this application has stopped working from last week, the application services were stopped. I'm unable to start the services(services are configured with the local account). As part of troubleshooting, I checked netstat to verify if the application ports are opened. I could not see on the list a couple of application related ports( eg. 4799, 4750). How do I verify if the ports are open or blocked on the server?
Hope this helps 9originally from elsewhere but fits your situation)
Assuming that it's a TCP (rather than UDP) port that you're trying to use:
1.On the server itself, use netstat -an to check to see which ports are listening
2.From outside, just telnet host port (or telnet host:port on Unix systems) to see if the connection is refused, accepted, or timeouts
On that latter test, then in general:
For scanning network hosts for service availability I would go with nmap. It's designed for this sort of job.
... will tell you if the specified TCP port is open on the remote host. UDP scans may be performed with the
-sU
option. Nmap has many other options for port scanning and analysis that may be worth your time to investigate.