On Sun, Feb 25, 2018 at 1:18 PM Francis Daly <francis@daoine.org> wrote:
> On Sun, Feb 25, 2018 at 11:34:17AM -0500, sonpg wrote:
>
> Hi there,
>
> > i using nginx to reverse proxy for sharepoint site: ecm.test.com:80 and
> > redirect test.com:80 to https://test.com:443.
> > it show "nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address
> already in
> > use)"
>
> You have something other than this nginx running, which is listening on
> port 80.
>
> One nginx with two server{} blocks which each "listen 80" is ok. Two
> separate nginxs which each "listen 80" is not ok.
>
> Maybe you have an old nginx running, maybe you have another web server
> running.
>
> Make sure nothing is listening on port 80 before you start this nginx.
>
> f
> --
> Francis Daly francis@daoine.org
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
You can’t just install software and expect it to work. Have you drawn up a
design document at all that covers how the connections and handled and
forwarded?
You can’t have multiple processes listening to the same ip:port. You can
get away but changing the ports for different backend applications or use
different ip addresses.
Draw out your design and give it a bit of thought.
> http://mailman.nginx.org/mailman/listinfo/nginx
>
--
Payam Tarverdyan Chychi
Network Security Specialist / Network Engineer
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx