Drew LeSueur
Drew LeSueur

Reputation: 20165

How do I find and stop the process that is running a server on port 443

I get this when I try to start nginx on ubuntu.

[emerg]: bind() to 0.0.0.0:443 failed (98: Address already in use)

How do I find and destroy process responsible?

Upvotes: 4

Views: 4744

Answers (1)

Nemo
Nemo

Reputation: 71555

As root:

lsof -i :443

...should reveal the offending process ID, assuming you have lsof on your operating system.

Upvotes: 14

Related Questions