mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Find a random port number to use for the application server to avoid conflicts
with any other apps that may have already bound to the default port used by CP.
This commit is contained in:
@@ -23,7 +23,7 @@ class Server : public QThread
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
Server();
|
||||
Server(quint16 port);
|
||||
~Server();
|
||||
|
||||
bool Init();
|
||||
@@ -37,6 +37,8 @@ private:
|
||||
|
||||
QString m_appfile;
|
||||
QString m_error;
|
||||
|
||||
quint16 m_port;
|
||||
};
|
||||
|
||||
#endif // SERVER_H
|
||||
|
||||
Reference in New Issue
Block a user