Started new Lightsail instance from snapshot, get "connection refused"

0

If I start a new Lightsail instance from a snapshot, it runs but refuses a connection. Sometimes if I stop and restart the instance, it will work. But now, nothing works! Is there something I'm doing wrong? It used to work all the time but lately I'm having trouble connecting to any new snapshot instance. Ports are ALL OPEN, no firewall. I can connect SSH but not HTTP.

已提問 1 年前檢視次數 393 次
2 個答案
0

Two things to check here. Both are already answered in rePost-User-5810350.

In the Lightsail console, in the networking tab ensure you have a public IP and the firewall is configured to allow routing.

Secondly you may need to restart the web server running on the instance.

You can also root cause this issue by looking into the webserver logs.

profile picture
已回答 1 年前
0

I tried restarting apache with no impact.

Try creating your new instance in a new region. You may find this resolves the problem. I made no other change than selecting the new region for the snapshot when I had this problem and it seemed to work for me.

I suspect I exhausted some region-based quota for my account, and moving to a new region resolved the shortfall.

Note: A perfect "tell all" is to try to create a new instance from scratch (not from a snapshot). On my account, I could spin up the instance, but I'd get the connection refused message. So I deleted the instance, and tried on a new region and had no problem.

I suspect there are a lot of limiting quotas that go with a light sail account, and it's possible to exceed them without getting any warning.

NBF
已回答 8 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南