Firewall and IP access question?

Hey,

I’m deploying my NodeJS / Docker app to a staging server at the moment, and unlike in development where the web server and Postgres DB were all handled as part of the docker container, i now have a managed DB service that i’m connecting to directly.

My questions are, with the web app firewall settings, do i need to open up any ports for either:

1 - The Docker Remote, currently port 2376 as per the wappler target settings?
2 - The standard Postgres port so the DB and web app can ‘talk’, currently port 5432

Secondly, With the DB managed service, i have added my own IP address so i can directly access the DB etc. But now that i have deployed to a staging server, do i need to add the server IP to the list of allowed IPs for the managed DB?

For the record, I can access the DB and access tables etc in the Wappler DB manager as i’ve connected directly using the supplied details for the managed DB, and also using SSL and the CA cert saved in the project files.

Currently the web app is not able to run any of the APIs as when in the browser, it can’t seem to connect to the DB but can in the Wappler DB manager.

Community Page
Last updated: