Nginx fails to start when creating or removing a Docker Proxy Rule

Created:

2016-12-12 03:43:21 UTC

Modified:

2017-08-08 13:25:50 UTC

1

Was this article helpful?


Have more questions?

Submit a request

Nginx fails to start when creating or removing a Docker Proxy Rule

Applicable to:

  • Plesk Onyx for Linux

Symptoms

Nginx fails to start when creating or removing a Docker Proxy Rule.

Plesk shows the following error:

New configuration files for the Apache web server were not created due to the errors in configuration templates: nginx: [emerg] bind() to 203.0.113.2:443 failed (99: Cannot assign requested address) nginx: configuration file /etc/nginx/nginx.conf test failed

/var/log/nginx/error.log :

[emerg] 3308#0: bind() to 203.0.113.2:80 failed (99: Cannot assign requested address)

/var/log/plesk/panel.log :

ERR [panel] Apache config (14781632750.58397200) generation failed: Template_Exception: nginx: [emerg] bind() to 203.0.113.2:443 failed (99: Cannot assign requested address)

Cause

IP address has been removed from the server, however, it exists in Plesk.

Resolution

  1. Recreate IP address: Tools & Settings > IP Addresses > Reread IP

  2. Remove the IP address via Plesk.

Have more questions? Submit a request
Please sign in to leave a comment.