Use get-ports for local server ports #552
gmaclennan
started this conversation in
Ideas
Replies: 2 comments
-
This should only be used for mapeo-server, not osm-p2p-server because custom imagery in iD editor depends upon the port being static (persistent) between app restarts. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Good point, we should change the way custom imagery is handled at some point, but in the meantime this is good to bear in mind. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Describe the idea
Check for port availability before listening on local servers
Additional context
In mapfilter-desktop we use get-ports to find an available local port, this avoids potential conflict with existing in-use ports.
Beta Was this translation helpful? Give feedback.
All reactions