Grunt Server:Fatal error: Port 35729 is already in use by another process.

提示35729端口被占用,使用lsof命令进行查看:

y@y:yo-test$ lsof -i :35729
COMMAND   PID USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
chrome  22141    y  213u  IPv4 230517      0t0  TCP localhost:48009->localhost:35729 (ESTABLISHED)
ionic   23071    y   13u  IPv6 196288      0t0  TCP *:35729 (LISTEN)
ionic   23071    y   14u  IPv6 230518      0t0  TCP localhost:35729->localhost:48009 (ESTABLISHED)

35729被ionic测试项目占用,把ionic项目停止后就可以了。

y@y:myapp1$ ionic serve
Running dev server: http://192.168.0.165:8100
Running live reload server: http://192.168.0.165:35729
Watching : [ 'www/**/*', '!www/lib/**/*' ]
Ionic server commands, enter:
  restart or r to restart the client app from the root
  goto or g and a url to have the app navigate to the given url
  consolelogs or c to enable/disable console log output
  serverlogs or s to enable/disable server log output
  quit or q to shutdown the server and exit

ionic $ q
y@y:myapp1$ 

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值