简体   繁体   中英

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

You can change the port that Dancer uses either in the config file or in the code .

But if you're saying that you just want to stop the Dancer server running, then you need to kill the process.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM