About 3,070,000 results
Open links in new tab
  1. How do I determine if a port is open on a Windows server?

    Aug 3, 2019 · On the server itself, use netstat -an to check to see which ports are listening. From outside, just use 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

  2. How to interpret the output of netstat -o / netstat --timers

    netstat -o includes some timer information in the output but I haven't found an explanation of the output in the Timer column anywhere. Can anybody explain this or point to an explanation? This ist what the ouptput of netstat -o looks like (on Ubuntu 8.04).

  3. Windows Kill Process By PORT Number - Stack Overflow

    Mar 23, 2019 · C:\> netstat -a -b (Add -n to stop it trying to resolve hostnames, which will make it a lot faster.)-a Displays all connections and listening ports.-b Displays the executable involved in creating each connection or listening port. In some cases, well-known executables host multiple independent components, and in these cases, the sequence of ...

  4. Command line for looking at specific port - Stack Overflow

    Aug 18, 2012 · For port 80, the command would be : netstat -an | find "80" For port n, the command would be : netstat -an | find "n" Here, netstat is the instruction to your machine -a : Displays all connections and listening ports -n : Displays all address and instructions in numerical format (This is required because output from -a can contain machine names)

  5. How do I remove a CLOSE_WAIT socket connection - Stack Overflow

    It is similar to the netstat command, but is generally faster and more efficient. To forcibly close sockets in the CLOSE_WAIT state using the ss command, you can use the --tcp option to specify that you want to view TCP sockets, and the state CLOSE-WAIT option to specify that you only want to view sockets that are in the CLOSE_WAIT state. For ...

  6. What are CLOSE_WAIT and TIME_WAIT states? - Super User

    @mahmood Connections in the TIME_WAUT states are connections Apache has closed. Connections in CLOSE_WAIT state will be handled by Apache until it is read, which should be almost immediately after the connection was closed. These connections will not be included in ServerLibm or MaxRequestWorkers. To verify run the command "netstat -antp | grep ...

  7. windows - How to make sure that a certain Port is not occupied by …

    Jan 11, 2012 · Use the netstat -anp | find "port number" command to find whether a port is occupied by an another process or not. If it is occupied by an another process, it will show the process id of that process. You have to put : before port number to get the actual output. Ex netstat -anp | find ":8080"

  8. How can I show the netstat command in powershell without the 0 …

    Nov 30, 2021 · (netstat -ano) -replace '0\.0\.0\.0:' Proto Local Address Foreign Address State PID TCP 135 0 LISTENING 868 TCP 445 0 LISTENING 4 TCP 5040 0 LISTENING 7288 TCP 5357 0 LISTENING 4 TCP 5985 0 LISTENING 4 TCP 6783 0 LISTENING 5128 TCP 47001 0 LISTENING 4 TCP 49664 0 LISTENING 976 TCP 127.0.0.1:6463 0 LISTENING 14660 TCP …

  9. How do I find which program is using port 80 in Windows?

    with the PIDs listed in the netstat output, you can follow up with the Windows Task Manager (taskmgr.exe) or run a script with a specific PID that is using a port from the previous step. You can then use the "tasklist" command with the specific PID that corresponds to a port in question.

  10. How to close TCP and UDP ports via windows command line

    Dec 31, 2011 · If you know the port that you want to free you can sort your netstat list by looking for the specif port like this: netstat -ano | findstr :8080 Then the pid will appear at the rigth which you can kill with taskkill. taskkill /pid 11704 /F Also you may want to look at this question which is specifically for localhost, but I think it is relevant:

Refresh