Problem: I'm unable to access any service running on by Ubuntu 22.04, including SSH. This server has been running for months without any issues. It currently hosts a frontend as well as 3 different backend services, which were all running perfectly for months. Now, I'm unable to send any request to the server.
When I try to SSH into the server, it hangs and after a while says
ssh: connect to host xx.xxx.xxx.xxx port 22: Operation timed out
When I make a curl request to one of the backend services, I get
curl: (28) Failed to connect to xx.xxx.xxx.xxx port xxxx after 75007 ms: Couldn't connect to server
Again, I have confirmed these services all work and can be requested locally from within the VPS.
Background: I believe this all happened after I installed Nginx on my server. I was trying to set up a reverse proxy which I've done hundreds of times before. This might be unrelated, but it's the only thing I can think of changing on the VPS before the issues started occurring. I simply installed the Nginx with apt, added Nginx Full rules to UFW, then restarted Nginx with a new conf.
Things I've already checked:
- UFW is disabled
- I've confirmed with VPS provider that there is no network level firewall running
- I've disabled Nginx and uninstalled it
- All services including SSH are running on the VPS
Edit:
ping 8.8.8.8
gives me error From xx.xxx.xxx.xxx icmp_seq=1 Destination Host Unreachable
Seems like my VPS isn't even connected to the internet anymore?