E
E
Evgeny Motovilov2017-02-09 12:40:28
linux
Evgeny Motovilov, 2017-02-09 12:40:28

Unable to raise apache on localhost. Why is this happening?

I start Apache with Listen 127.0.0.1:8080
It fails, the error make_sock: could not bind to address 127.0.0.1:8080
And on the local 10.2.0.4:8080 it works, but nginx cannot connect to it, although it changed to 10.2.0.4.
Who can tell what's wrong? Images are loaded via nginx, but it cannot connect to Apache and issues a timeout.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Erelecano Oioraen, 2017-02-09
@Aksi0

If Apache cannot bind to the port, then the port is already occupied by someone.
sudo lsof -i -n|grep http-alt
and see who lives in the little house.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question