This topic is locked

How do you connect PGADMIN for Multi-Dev (Where is the Database Server located?)

10/15/2025 13:17:03
ASPRunner.NET General questions
M
MSchell author

When I installed single user V11, I was able to install and connect PGADMIN on my local PC to back up my projects.

When Multi-DEV we installed DevServer build 43806 on a standalone PC. We then installed 11.1 Multi-Dev on our individual PC's and connected them to the DevServer, that works fine.

In the Multi-dev environment how do I connect PGAdmin to the server and back up my data?

We have tried our individual PC's, and installed PGADMIN on the PC with DevServer, and can't connect from any of them.

Does ASPRunner V11.1 Multi-Dev need to be installed on the server where the DevServer is installed?

ChatGPT 10/15/2025

To connect pgAdmin to your DevServer in a Multi-Dev environment with ASPRunner.NET, follow these steps:

  1. Database Connection Details: First, ensure you have the correct connection details for your database. This includes the hostname (or IP address), port (usually 5432 for PostgreSQL), database name, username, and password.


  2. Network Accessibility: Make sure that the PostgreSQL server is configured to accept connections from your individual PCs. You may need to edit the pg_hba.conf file on the server to allow connections from the IP addresses of your client machines. You can add a line like the following to allow all IPs (be cautious with this in production):

    host all all 0.0.0.0/0 md5

    You would also need to set the listen_addresses in postgresql.conf to '0.0.0.0' to allow connections from any IP address.


  3. Firewall Settings: Ensure that any firewalls on the server or your local machines are configured to allow traffic on port 5432.


  4. Install pgAdmin: You can install pgAdmin on any PC that needs to connect to the DevServer. It does not need to be installed on the server itself.


  5. Connecting to PostgreSQL:

    • Open pgAdmin.
    • Create a new server connection.
    • Fill in the required connection details (name, host, port, username, password).
    • Test the connection to ensure that it works.


  6. Back Up Your Data: Once connected, you can use pgAdmin to back up your database. Right-click on the database and select Backup... to create a backup file.



Regarding your question about needing to install ASPRunner.NET on the server, it is not necessary to have ASPRunner.NET installed on the server where the DevServer is installed just for database management tasks like backups. ASPRunner.NET is primarily a tool for generating web applications, and as long as the PostgreSQL service is running and accessible, you should be able to manage the database independently through pgAdmin.

If you continue to have issues connecting, double-check all connection parameters, firewall settings, and ensure that the PostgreSQL service is running correctly on the DevServer.