Skip to content
Snippets Groups Projects
  • Jun Wu's avatar
    161ab32b44a1
    runtests: set web.address to localhost · 161ab32b44a1
    Jun Wu authored
    Previously, "hg serve" will listen on "", which is not clear which interface
    it will actually listen on - it could listen on all interfaces (ex. 0.0.0.0
    on IPv4).
    
    The run-tests.py script only checks "localhost" for available ports. So
    let's make it the same for "hg serve" by explicitly setting "web.address" to
    "localhost".
    
    This resolves some IPv6 EADDRINUSE errors.
    161ab32b44a1
    History
    runtests: set web.address to localhost
    Jun Wu authored
    Previously, "hg serve" will listen on "", which is not clear which interface
    it will actually listen on - it could listen on all interfaces (ex. 0.0.0.0
    on IPv4).
    
    The run-tests.py script only checks "localhost" for available ports. So
    let's make it the same for "hg serve" by explicitly setting "web.address" to
    "localhost".
    
    This resolves some IPv6 EADDRINUSE errors.