With mkdocs serve
switch to another port if the current port is busy
#3496
Labels
mkdocs serve
switch to another port if the current port is busy
#3496
It is possible that a couple of instances of the MkDocs web server are running at the same time, for legitimate reasons. The second time, the server won't start, unless a different port is used. The solution is to use the
-a
/--dev-addr
option withmkdocs-server
, but it is tedious.Programmatically checking that the port is free is easy, and this could be automated (rather than failing).
Additional points
See also discussion in #3494
The text was updated successfully, but these errors were encountered: