Skip to content
Snippets Groups Projects
Commit 30558fa0 authored by Maksim Kaitmazian's avatar Maksim Kaitmazian Committed by Dmitry Rodionov
Browse files

refactor: allow default ports to be listened on by other protocols

Previously, using a default port of another protocol would result in an
error like the following
```
error: Invalid value "localhost:8080" for '--pg-listen <[HOST][:PORT]>': PGPROTO cannot listen on port 8080 because it is default port for HTTP
```

This commit allows default ports to be used by other protocols,
as long as the port is not already occupied.

Close #1254
parent 583cac4a
No related branches found
No related tags found
1 merge request!1552refactor: allow default ports to be listened on by other protocols
Pipeline #59385 failed
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment