Router not listening in the VH ports.

I have created a VH to listen on port 9001 and when I check with netstat I see nothing is listening on port 9001. apigee-all status says everything OK

Checked the nginx error logs and found the below entry:

[emerg] 8619#8619: bind() to 127.0.0.1:9080 failed (98: Address already in use)

But all I see in the port is nginx proccess.

nginx 4473 apigee 10u IPv4 33699975 0t0 TCP localhost:glrpc (LISTEN)

nginx 4483 apigee 10u IPv4 33699975 0t0 TCP localhost:glrpc (LISTEN)

nginx 4484 apigee 10u IPv4 33699975 0t0 TCP localhost:glrpc (LISTEN)

Please let me know how can I resolve this.

0 2 504
2 REPLIES 2

Can you restart your router?

Have you checked the nginx.conf file to see if it looks sensible, given the VHost definitions?

@Dino-at-Google , had restarted the router after VHost update but no luck. I don't see any bad file under /opt/nginx/conf.d. Attached nginx.conf file.nginxc.txt