Skip to content
Snippets Groups Projects

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

Summary

  • 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 (closed)


  • Cherry-pick to: none
  • Docs follow-up: not necessary
  • [ ] Changelog is updated

Merge request reports

Pipeline #59383 passed

Pipeline passed for 30558fa0 on max/allow-default-ports-to-be-listened-on-by-other-protocols

Test summary results are being parsed

Merged by Dmitry RodionovDmitry Rodionov 2 months ago (Dec 27, 2024 8:56pm UTC)

Loading

Pipeline #59385 failed

Pipeline: sbroad-nt

#59386

    Pipeline failed for 30558fa0 on master

    Activity

    Filter activity
    • Approvals
    • Assignees & reviewers
    • Comments (from bots)
    • Comments (from users)
    • Commits & branches
    • Edits
    • Labels
    • Lock status
    • Mentions
    • Merge request status
    • Tracking
    Please register or sign in to reply
    Loading