Unable to remotely access Neo4j in ec2 instance

Hello Neo4j Community,

I am facing problem in remotely accessing the neo4j which is deployed at AWS. I am using neo4j 4.0.4 and able to successfully start neo4j server on ec2 instance. But i am having problem in using it at my local browser. Whenever i hit http:// my ip :7474 and try to login i get
"WebSocket connection failure. Due to security constraints in your web browser, the reason for the failure is not available to this Neo4j Driver". i Also checked on ports 7474,7473 and 7687 all are listening, i have checked with firewall no problem at that side (even disabled firewall to see if that causes an error) firewall seemed to be not an issue. I have made following changes in my neo4j.conf file

dbms.default_listen_address=0.0.0.0
dbms.connector.bolt.listen_address=0.0.0.0:7687

can Anybody help me getting issue solved. is using ssl Certificates is the only way to go around??

I think you need to configure Security Group rule in AWS to allow inbound as well as outbound traffic to Gateway on the specific port e.g 7474 and protocol of your choice( HTTP or HTTPS).