How to determine if a port is open on a Windows server?

[Origin]: http://stackoverflow.com/questions/273159/how-to-determine-if-a-port-is-open-on-a-windows-server

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:

  • connection refused means that nothing is running on that port
  • accepted means that something is running on that port
  • timeout means that a firewall is blocking access
shareedit
Advertisements

I need to flush dns again and again to make the sites load

[Originally Posted From] : I need to flush dns again and again to make the sites load

UPDATE JUNE 4, 2015:-

My ISP provides a Wi-Max (wireless) device which receives the signals and sends it through LAN cable to my laptop. I’ve been using this device since last 5 years. Today, for a certain reason, my ISP’s custom care center replaced the device with a new device. Now, I’m no more facing this issue. So, I think that the problem is in the modem, not in Windows 8.1. I hope that my update will help others.


I’m facing a problem where when I visit a site Google Chrome says to me:-

“This web page is not available”

This happens for many sites. I’ve searched on Google and have found a fix. If I run the following command of flushing dns caching

ipconfig /flushdns

then I can load the site. But after few seconds or minutes Google Chrome again gives the same (error?) message. “This web page is not available”. I need to run the command again and again and it has now become very irritating. Anyone knows the solution of my problem?

OS: Windows 8.1 Browser: Google Chrome (Version 34.0.1847.131 m)

shareimprove this question

 

Error message when you run the ipconfig /flushdns command on a Windows XP-based computer: “Could not flush the DNS Resolver Cache: Function failed during execution.”

From: https://support.microsoft.com/en-us/kb/919746

SYMPTOMS

When you run the ipconfig /flushdns command to clear the Domain Name System (DNS) cache on a Microsoft Windows XP-based computer, you receive an error message that resembles the following:

Could not flush the DNS Resolver Cache: Function failed during execution.

When you try to repair the network connection, you receive an error message that resembles the following:

Windows could not finish repairing the problem because the following action could not be completed:
Clearing the DNS Cache

For assistance, contact the person who manages your network.

CAUSE

This problem occurs if the DNS Client service is not running on the computer.

RESOLUTION

To resolve this problem, follow these steps:

  1. Click Start, click Run, type services.msc, and then click OK.
  2. In the list of services, click DNS Client.
  3. Make sure that the Status column displays Started and that the Startup Type column displays Automatic.
  4. If the service is not set to Started or if the startup type for the DNS Client service is not set to Automatic, follow these steps:
    1. Right-click DNS Client, and then click Properties.
    2. In the DNS Client Properties dialog box, click the General tab, and then click Automatic in the Startup type list.
    3. Click Start, click Apply, and then click OK.