Connecting to fusionauth admin dashboard from AWS EC2
-
Hello All,
I am trying to connect to the fusionauth dashboard. This is not a fusionauth issue as I can RDP into the ec2 instance and bring it up locally at localhost:9011. When trying to access it from http://IPADDRESS:9011 it just times out and https://IPADDRESS:9013 is the same. Just looking for suggestions for things to try from the community.
My setup is a Windows instance on AWS EC2 and running Fusionauth 1.42.0. I have opened up TCP port 9011 from any IP in the security groups. I think I have even tried opening up every port from any IP with the same results. Trying to access by hostname doesn't work either. The website in general works but I am going to switch from Cognito to Fusionauth. I remember when I had GoDaddy as my host and using fusionauth I didn't have this problem. Not sure what the difference would be.
My skill level is not the highest and I am sure this is something I am overlooking but I am not sure what else to try.
Any suggestions would be appreciated. Thanks.
-
@dtokarz1 Heya, since you've troubleshot this and know it isn't a FusionAuth issue when you request localhost, I'd see if you can stand up any kind of server on the windows box and have it respond to an address. That would clarify if this is a FusionAuth issue or windows config issue.
It sounds like you've set up the security groups correctly.
I don't have experience with windows, but in the past when I've seen similar issues, it was because the server bound to
localhost
but not0.0.0.0
or127.0.0.1
, which expose the service to the wider internet.Do you see any issues in the logs illustrating difficulty binding to the 9011 port for certain interfaces?
-
@dan Hey thanks for replying. Didn't see anything in the logs but in a weird way you got me going in the right direction. I thought when you open a port in the security groups for an EC2 instance it opens that port in the Windows firewall as well. It didn't. I RDP into my instance and manually opened the port 9011 in the firewall. From there I was able to connect via http://IPADDRESS:9011.
Thanks again!
-
@dtokarz1 That's great! Glad you figured it out, and thanks for letting us know.