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.

질문됨 일 년 전394회 조회
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
답변함 일 년 전
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달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠