Webinoly is just the perfect tool for NGINX experts. Give it a try!
0 votes
by Talented
edited by


I have a database server on the private network, so I want to connect to it via local IP.

I tried to use this where I give an IP address in the host field:
sudo webinoly -external-db-save=[user,pass,host:port]

External DB data successfully saved.

But when trying to install WP I get this error:
[ERROR] Invalid database host/port!

From ssh I can connect to the database, so the network configuration seems to be fine.


1 Answer

+1 vote
by Expert
selected by
Best answer

Thanks for reporting this issue!

I will fix it in the next release v1.14.2.

If you want it, it's a simple fix you can add in the meantime.

Line 190 of /opt/webinoly/lib/sites

# This line:
elif [[ $(is_url $dbhost) =~ ^(http|https|true)$ ]]; then

# New line with IP support:
elif [[ $(is_url $dbhost) =~ ^(http|https|ip|true)$ ]]; then

by Talented

Thank you for the hotfix.

I applied it.

Works without problems.

by Expert
Just for the record, this issue was fixed in v1.14.2 released today.

Welcome to the Community site for Webinoly.

Our Optimized LEMP Web Server is a powerful set of commands for doing just about anything you could wish.

With Webinoly you can set up your NGINX web server in just one step.

* * * * * * *

To report a bug, please create a new issue on GitHub or ask a question here with the bug tag.
Webinoly Support Paypal Donations

PayPal · GitHub Sponsors · Bitcoin

It is very important that any visitor to the site read the disclaimer, terms of use and privacy and legal statement before start browsing.