View Ticket
Not logged in
Ticket UUID: b0894abc94c175bb7840bfcda8f155e2b358512c
Title: fossil server -P address:port
Status: Open Type: Feature_Request
Severity: Priority:
Subsystem: Resolution: Open
Last Modified: 2010-07-25 10:43:31
Version Found In:
Description & Comments:
I would like to restrict the fossil server to listen on a single ip address; usually localhost. It would be nice if I could use
fossil server -P 127.0.0.1:8080
or
fossil server -P '[::1]:8080'

anonymous added on 2010-07-25 10:43:31:
Here's a workaround using socat:

/usr/local/bin/socat \
    TCP-LISTEN:8080,bind=127.0.0.1,reuseaddr,fork \
    EXEC:'/usr/local/bin/fossil http /home/me/myproject.fossil'