khanin Posted yesterday at 11:49 AM Posted yesterday at 11:49 AM Hello Heliohost Support, I am hosting a Node.js application on your servers. The app needs to connect to an external PostgreSQL database hosted on Aiven, but the connection is always refused from the Heliohost environment. Here is the connection URL (redacted for security): postgres://<user>:<password>@pg-service-dm-khanin-project.d.aivencloud.com:23579/defaultdb When the application starts, I get the following error: SequelizeConnectionRefusedError: connect ECONNREFUSED 85.9.195.148:23579 The same URL works perfectly on my local machine, so the Aiven service is reachable and accepts connections. This suggests that outgoing connections from Heliohost to this host/port combination (pg-service-...aivencloud.com:23579) are blocked or filtered. Could you please confirm: Whether outgoing connections to custom ports (like 23579) are allowed from Heliohost servers? Whether there are any firewall or network restrictions preventing connections to external PostgreSQL services? If such connections can be enabled for my account or server? This issue prevents the backend from accessing the database in production. Thank you! Quote
wolstech Posted 17 hours ago Posted 17 hours ago Quote Whether outgoing connections to custom ports (like 23579) are allowed from Heliohost servers? This is your issue. Nonstandard outbound ports are blocked. Are you able to change the remote end's port to something standard (like 5432), or move the database to a server where a normal port can be used? If not, I can escalate this to see if the port in question can be opened. Quote
khanin Posted 4 hours ago Author Posted 4 hours ago Hello, Thank you for the clarification. Unfortunately, it’s not possible to change the PostgreSQL port on Aiven, especially on the free plan — the port is assigned automatically and cannot be modified on my side. Aiven does not provide a setting to force a standard port like 5432. Given this, please escalate the issue to check whether it’s possible to open the required outbound port on your side. If this cannot be accommodated, that’s completely fine — just let me know. Thank you for your help! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.