Replace the port of apache2



  • Changed the wire port in all apache2 configuration files from 80 to 81. Local sites stopped running. What's the problem?

    team sudo lsof -i | grep LISTENIs that what it is?

    apache2   16756     root    4u  IPv6 277725      0t0  TCP *:81 (LISTEN)
    apache2   16759 www-data    4u  IPv6 277725      0t0  TCP *:81 (LISTEN)
    apache2   16760 www-data    4u  IPv6 277725      0t0  TCP *:81 (LISTEN)
    apache2   16761 www-data    4u  IPv6 277725      0t0  TCP *:81 (LISTEN)
    apache2   16762 www-data    4u  IPv6 277725      0t0  TCP *:81 (LISTEN)
    apache2   16763 www-data    4u  IPv6 277725      0t0  TCP *:81 (LISTEN)
    

    What did I do wrong? What kind of user is www-data? I didn't make it.



  • Local sites stopped running

    If you've changed the port number you're listening to. http://serverthe number will have to be clearly indicated for reference:

    http://адрес:порт/...
    

    What kind of user is www-data?

    quote: https://wiki.debian.org/ru/Apache



Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2