Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

Address already in use

$
0
0
Hi all.

Using nginx 1.10.3-0ubuntu0.16.04.2 I get several messages :

aug. 07 20:43:07 ubuntu nginx[9578]: nginx: [emerg] listen() to 0.0.0.0:80, backlog 511 failed (98: Address already in use)

my conig file has several entries with the same listen directive:

server {
listen 80;
server_name xxxx.no;
....
...
}

server {
listen 80;
server_name xxxx.no;
....
...
}


The strange thing is that this is OK on the same config running on my Unix and windows server.

The goal is to have nginx act as a proxy based on the server_name


/bwa

Viewing all articles
Browse latest Browse all 4759

Trending Articles