Question

My VPS server IP and Wordpress IP differs Unable to connect

Hi friends, This is a Awesome tutorial. Thank you very much.

I have tried to install my All in one video downloader, But i have ended up with Two Different IPs and unable to connect my server with database.

My VPS IP showing http://213.136.68.197/ and My wordpress IP showing 192.168.43.132/

Unable to connect. Where i have made a mistake. Please help me to run my site.

Thanks in advance. Srikanth.K


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hi there,

In order to connect to your website externally, you need to use the public IP address, in your case: 213.136.68.197.

So during the WordPress installation you should specify the public IP address rather than the 192.168.43.132 IP which is a private IP.

For more information on private IP addresses and VPCs, I could suggest the following documentation:

https://docs.digitalocean.com/products/networking/vpc/

Let me know if you have any questions!

Best,

Bobby