Hello everyone! :) So I have created a droplet with Ubuntu 20, I have installed apache, mysql, php and everything I need… I made it work perfectly as I need it.
Then I decided to create a image by following this tutorial: https://www.digitalocean.com/community/tutorials/how-to-create-an-image-of-your-linux-environment-and-launch-it-on-digitalocean
And everything worked fine, I uploaded the image to spaces I used the image to create a new droplet.
New droplet is created, however I cannot reach it via IP (winSCP or browser or ping)… however I can SSH to it via DigitalOcean console…
So I guess the problem is somehow in IP not assigned properly in server configuration?
I tried searching for a solution for over 20 hours and I tried many things… with no success… :(
If anyone could help me out I would be grateful! :)
Thank you in advance!
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.
This comment has been deleted
Hi,
Late last night (attempt #84593484) :D I managed to setup the static IP and it’s working so far.
I have this in netplan
However my other DigitalOcean generated droplets have network such as:
So in network I have manually generated I’m missing eth1 and the nameservers are public ones, is that bad or that configuration is ok? The missing ethernet port is also ok or?
Hi, Check if you can see your droplet’s public IP address assigned to any network interface
and what is a gateway (via) and network interface (dev) for default routing
Check if you can ping the gateway from outside and inside your droplet.