Python Process Takes Port 443


#1

Hello
I often happen these days that the server crashes at different times.
The Apache error is:
(98) Address already in use: make_sock: could not bind to address [::]: 443
If I analyze the server with the command:
netstat -anp | grep: 443
I find out that python has a process on 443.
How do I solve the problem?

My web server is (include version):

The operating system my web server runs on is (include version): Ubuntu Server 14


#2

I’m not sure this forum is the best place to look for an answer to such a problem.


#3

Hello
Ok but…the problem is born after installing certbot and its dependencies to generate certificates.
Before there have never been problems


#4

Could you provide more info on how you ran Certbot initially? I’m guessing it was in standalone mode, which will run a temporary webserver that might take up port 443. If you have a webserver running, this usually isn’t how you want to go about things. However, usually Certbot is the one that has the issue starting rather than Apache.