Django Error: That port is already in use.

When trying to start/run Django server on your MAC machine getting this error –

Error: That port is already in use.

Solution?
  1. find out which service or application is using the default port 8000?
Spotlight on Network Utility to List Ports
  1. Press Command+Spacebar.
  2. Type the name of utilities that are buried, such as Network Utility.
  3. Click the keyboard return/enter key to launch the Network Utility app.
  4. Select the “Port Scan” tab.
  5. Enter the IP (such as 127.0.0.1), localhost, or domain name you wish to scan for open ports.
  6. Click scan button.
note – On mac machines by default the port 8000–8999 TCP is used by irdmi.

https://support.apple.com/en-us/HT202944

Port TCP or
UDP
Service or
protocol name
1
RFC2 Service name3 Used by
8000–8999 TCP irdmi Web service, iTunes Radio streams

This slideshow requires JavaScript.

 

Leave a comment

About the author

Sophia Bennett is an art historian and freelance writer with a passion for exploring the intersections between nature, symbolism, and artistic expression. With a background in Renaissance and modern art, Sophia enjoys uncovering the hidden meanings behind iconic works and sharing her insights with art lovers of all levels. When she’s not visiting museums or researching the latest trends in contemporary art, you can find her hiking in the countryside, always chasing the next rainbow.