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.

 

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s