Maintenance Mode on Remote Server
-
I installed FusionAuth on an AWS EC2 instance running Amazon Linux. Naturally, since this instance has no GUI, I cannot use a web browser to visit http://localhost.
Instead, I am connecting to http://<public IP address>:9100 and and am getting the maintenance mode UI.
I select postgres as my database type, enter 'postgres' as the database superuser and the appropriate password, and eventually get the error:
Unable to connect to your database using either the superuser username and password or ordinary username and password you provided. Please verify your connection information. If it is correct, make sure the database is running before continuing.
However, I can connect to this same EC2 instance from my local machine with psql using the same username/password, and can get into the database server and issue commands just fine.
Is it possible to use the web UI for maintenance mode remotely?
-
Hmmm. So you are saying that:
- you can connect from the ec2 instance to your postgresql instance.
- you can connect via the web to the fusionauth instance, but it is stuck in maintenance mode.
Where is the postgresql instance running? Is it on the same ec2 instance as FusionAuth?
What value are you putting for the hostname?