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"

asked a year ago371 views
1 Answer
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
EXPERT
answered a year ago
  • 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

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions