From the course: Troubleshooting Network Connectivity

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Port already in use, netstat

Port already in use, netstat

From the course: Troubleshooting Network Connectivity

Start my 1-month free trial

Port already in use, netstat

- [Narrator] Server troubleshooting can be a quagmire. The sheer amount of possible problems can seem endless. Thankfully there are some solid tools that allow for quick resolution. When connecting to a service on a server like HTTP or Telnet, I'm connecting via a specific port and protocol dedicated for that application. This bidirectional connection is often referred to as a socket. When a server wants to accept HTTP connections, it will listen on TCP port 80. Only a single application can listen on a given protocol and port number at a single time. When multiple applications want to use the same socket, it is called a port conflict. Some applications will check for an open port, and these will generally warn me of the port conflict. Some other applications will simply fail with a generic error. The best tool to determine if a port is in use is Netstat. Luckily, this command is available for both Windows and Linux, though the syntax is slightly different for each. On Windows, my go…

Contents