I have a React Native app which is currently fetching from Localhost (ngrok) server. The server has MongoDB and Firebase Cloud Messaging calls, so I believe it is not a webserver.
What ports should I open when I deploy this server to EC2, to allow my React Native app to access it with the domain that is provided to my fetch() calls (e.g. www.example.com)? Or can I specify something like www.example.com/8181, then open port 8181 in on my EC2 instance, and all will be fine?
1.4m articles
1.4m replys
5 comments
57.0k users