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 年前387 查看次数
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

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则