Home  >  Q&A  >  body text

mac nginx configuration

ginx: [emerg] bind() to 0.0.0.0:8080 failed (48: Address already in use) What does this mean

我想大声告诉你我想大声告诉你2713 days ago738

reply all(3)I'll reply

  • 仅有的幸福

    仅有的幸福2017-05-16 17:22:22

    Translation: Port binding error, the port has been used first.

    Change the port, 80 is occupied, or find which program is occupying it. It is most likely apache under mac, mac comes with apache.

    reply
    0
  • 漂亮男人

    漂亮男人2017-05-16 17:22:22

    Port 8080 is occupied.
    Can be executed from the command line

    lsof -i:8080

    Check which process is occupying it.

    reply
    0
  • 淡淡烟草味

    淡淡烟草味2017-05-16 17:22:22

    Check if an nginx process has been started

    ps -ef | grep nginx

    reply
    0
  • Cancelreply