Search code examples
perllocalhostportdancer

Perl Dancer - still using port 3000


I have tested Perl programming langugage for a while and installed Perl Dancer web framework. Dance server used port 3000. Now when I try to deploy another application like MeteorJS app it can not use this port. When I navigate to http://localhost:3000, i get some boilerplate template like Dance server is still running. How to fix this ?

EDIT

OS: ubuntu 14.04 LTS 32-bit


Solution

  • You can use the command

    sudo fuser 3000/tcp
    

    to get the process id(s) of any process(es) using TCP port 3000, which will then allow you to use ps/pstree to inspect them or kill to terminate them.