KILL 80 PORT ON SERVER

How to kill 80 port on server:-

Run :-

       lsof -wni TCP:80

Then kill ps :-

       kill -9 ...

Or 
       sudo kill `sudo lsof -t -i:80`



When getting error :-

bind() to 0.0.0.0:80 failed (98: Address already in use)

Run that command on server for killing the port 80:    sudo fuser -k 80/tcp

When getting 404 error on server :-

        location / {
           root /var/deploy/pdm_expert/pdm/public;
        }


Comments

Popular posts from this blog

psql: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?

CARRIERWAVE - UPLOAD ANY MEDIA (AUDIO , VIDEO AND IMAGE ) FILE IN RAILS

SELECT COUNTRY WITH STATE AND IT'S CITIES RAILS

RAILS: UPLOADING PHOTOS VIA AMAZON S3 AND PAPERCLIP (UPLOADING FILES TO S3 IN RUBY WITH PAPERCLIP)

SEARCHING USING AJAX IN RAILS

UPLOAD ANY MEDIA FILE IN RAILS USING PAPERCLIP

UNINITIALIZED CONSTANT PAPERCLIP::STORAGE::S3::AWS

CURL COMMAND ON RUBY ON RAILS

CHECK PASSENGER RUBY PATH