Problem with change nginx port

mostafacar20

New member
Joined
Oct 17, 2019
Messages
1
Hi,

After change nginx port from /etc/nginx/nginx-vhosts.conf I see both old port and new port are LISTEN . Whats the problem?

[root@host ~]# netstat -tulpn | grep nginx
tcp 0 0 1.1.1.1:443 0.0.0.0:* LISTEN 6129/nginx: master
tcp 0 0 127.0.0.1:444 0.0.0.0:* LISTEN 6129/nginx: master
tcp 0 0 1.1.1.1:444 0.0.0.0:* LISTEN 6129/nginx: master
tcp 0 0 127.0.0.1:80 0.0.0.0:* LISTEN 6129/nginx: master
tcp 0 0 1.1.1.1:80 0.0.0.0:* LISTEN 6129/nginx: master

I changed 443 port to 444.
For port 80 also this happens.
I restarted server but the problem exist .
I'm using directadmin with custombuild 2 . My purpose is change the port and config varnish cache.
 
Back
Top