I get connection refused when browsing static IP of a lightsail Drupal instance

0

Hello,

I launched a lightsail instance with a drupal installation and attached a static IP to it now I'm trying to access Drupal using the static IP but I get the following browser error "Connection refused"

已提問 1 年前檢視次數 388 次
1 個回答
0

Hello.

Are you using URLs as described in the documentation below?
Also, if you access Lightsail immediately after starting it, the web server may not be fully started.
So, if you have just started Lightsail, please wait a while and try accessing it.
https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-quick-start-guide-drupal

http://<Lightsail Static PublicIP>/user/login
profile picture
專家
已回答 1 年前
  • Yes, that's what I'm using. I also waited for a while and tried rebooting a couple time after trying to open ports 80 and 8080 and still the same result

  • It may be that there is some problem with Lightsail startup and the web server is not starting. Try SSHing into Lightsail and running the following command. If the result of the command contains "HTTP/1.1 200" or similar, the Web server is up and running.

    curl http://localhost/user/login -i
    
  • I got "HTTP/1.1 200 OK" the server is apparently up and running

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

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

回答問題指南