Restart the designer and add a database connection. Select JDBC, select Postgre database, modify URL, and specify database server. The default port number of Postgre is 5432. Write down the database name after the port, and then click Test Connection to see if the prompt is successful.