By mistake i killed port 80 , now My website is down

Issues related to configuring your network
Post Reply
mySKILLZ
Posts: 35
Joined: 2018/02/21 09:10:21

By mistake i killed port 80 , now My website is down

Post by mySKILLZ » 2018/07/18 00:23:28

Hello,
i was configuring letsencrypte in my server then it told me to run this script while i was configuring

---------------------------
sudo python2 -c "import BaseHTTPServer; \
h = BaseHTTPServer.BaseHTTPRequestHandler; \
h.do_GET = lambda r: r.send_response(200) or r.end_headers() or r.wfile.write('5NRLlGcQlX56wFTC_z1LPIfoV_BN8NCNqAGNZYOTd-M.FLGUz1QQ2NahBeJ9sxc5RWR3fUttB5vleHH72DwHt5E'); \
s = BaseHTTPServer.HTTPServer(('0.0.0.0', 80), h); \
s.serve_forever()"
----------------------

then this script bound my port 80

and i got sad an i tried to kill the process that holds it

i aCCIDENTLY DELETE MY PORT WITHOUT KNOWING by using this command
kill -9 3544

now i get

Image

please help me get port 80 before the sun set, cuz users will start browsing tomorrow
Attachments
python_bite_myserver.JPG
python_bite_myserver.JPG (17.7 KiB) Viewed 573 times

User avatar
avij
Retired Moderator
Posts: 3046
Joined: 2010/12/01 19:25:52
Location: Helsinki, Finland
Contact:

Re: By mistake i killed port 80 , now My website is down

Post by avij » 2018/07/18 02:38:48

Have you considered if starting the httpd service would help?

Post Reply