[Kimchi-devel] nginx server and it's default port number (80)

Aline Manera alinefm at linux.vnet.ibm.com
Fri Jan 13 16:06:05 UTC 2017



On 01/12/2017 03:49 PM, Daniel Henrique Barboza wrote:
> Hi Chandra,
>
>
> I haven't test it but as far as I know you can bind nginx to any port
> you wish. The ports that really matters are 8000,8001 and 8010 that
> WoK uses.
>

^ THIS

Wok only makes use of 8000, 8001 and 8010 (that one only on localhost).

As you could see, the port 80 is the default port of nginx and do not 
related to Wok.

>
> Daniel
>
> On 01/12/2017 11:11 AM, Chandra Shekhar Reddy Potula wrote:
>>
>> Hi All,
>>
>> By default nginx server configured with port number 80 and I see the 
>> following from netstat
>>
>> In the file /etc/nginx/nginx.conf
>>
>>     server {
>>         listen       80 default_server;
>>         listen       [::]:80 default_server;
>>         server_name  _;
>>         root         /usr/share/nginx/html;
>>
>>         # Load configuration files for the default server block.
>>         include /etc/nginx/default.d/*.conf;
>>
>>         location / {
>>         }
>>
>>         error_page 404 /404.html;
>>             location = /40x.html {
>>         }
>>
>>         error_page 500 502 503 504 /50x.html;
>>             location = /50x.html {
>>         }
>>
>> [root at zs95kc conf.d]# netstat -anp
>> Active Internet connections (servers and established)
>> Proto Recv-Q Send-Q Local Address           Foreign Address         
>> State PID/Program name
>> tcp        0      0 0.0.0.0:8000            0.0.0.0:*               
>> LISTEN  57091/nginx: master
>> tcp        0      0 0.0.0.0:8001            0.0.0.0:*               
>> LISTEN  57091/nginx: master
>> tcp        0      0 0.0.0.0:80              0.0.0.0:* LISTEN     
>>  57091/nginx: master
>> tcp        0      0 192.168.122.1:53        0.0.0.0:*               
>> LISTEN  15237/dnsmasq
>> tcp        0      0 0.0.0.0:22              0.0.0.0:*               
>> LISTEN  12897/sshd
>> tcp        0    248 10.20.92.162:22         10.20.94.36:49404       
>> ESTABLISHED 56319/sshd: root at pt
>> tcp6       0      0 :::80                   :::*  LISTEN     
>>  57091/nginx: master
>> tcp6       0      0 :::22                 :::*                   
>>  LISTEN  12897/sshd
>> udp        0      0 192.168.122.1:53        0.0.0.0:* 15237/dnsmasq
>> udp        0      0 0.0.0.0:67              0.0.0.0:* 15237/dnsmasq
>> raw6       0      0 :::58                 :::*                    7 
>> 12181/NetworkManage
>>
>> So the question I have is do we really require nginx listing on port 
>> number 80 by wok ?
>>
>>
>> Thanks in advance,
>>
>> Regards
>>
>> Chandra
>>
>>
>>
>> _______________________________________________
>> Kimchi-devel mailing list
>> Kimchi-devel at ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/kimchi-devel
>
>
>
> _______________________________________________
> Kimchi-devel mailing list
> Kimchi-devel at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/kimchi-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/kimchi-devel/attachments/20170113/e6ec7994/attachment.html>


More information about the Kimchi-devel mailing list