zoukankan      html  css  js  c++  java
  • 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$ 
  • 相关阅读:
    php utf-8
    thinkPHP--关于域名指向的问题
    PHP命名空间(Namespace)的使用详解
    thinkphp 动态配置
    枚举之称硬币
    5.7
    5.6
    5.5(OI一本通开始)
    5.4
    5.3
  • 原文地址:https://www.cnblogs.com/yshyee/p/4505407.html
Copyright © 2011-2022 走看看