what are you trying to achieve: run the server on ec2
what have you tried so far to achieve this: i am able to start the sonarqube in docker when seeing the logs i can see that its operational. When i try to access it via browser i am not able to access it in browser console it gives “502 (Connection refused)”. But if i use curl i am able to get its loading screen.
When I double-check the meaning of 502, I find that it’s actually:
HTTP status code that occurs when a server acting as a gateway or proxy receives an invalid or faulty response from another server in the communication chain .
So it looks like this probably isn’t coming from SonarQube itself. You can double-check that by looking at your server logs to see if you actually find a 502 there.