Fossil SCM
fossil server -P address:port
Open
b0894abc94c175b…
· opened 15 years, 8 months ago
- Type
- Feature_Request
- Priority
- —
- Severity
- —
- Resolution
- Open
- Subsystem
- —
- Created
- July 25, 2010 9:53 a.m.
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'
<hr><i>anonymous added on 2010-07-25 10:43:31:</i><br>
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'
```
Comments (1)
stephan
3 years, 2 months ago
Commenting to automatically move this ticket out of the "stale" list. The "ui" command binds only to 127.0.0.1, so we apparently have the code necessary for implementing this, other than the actual extended parsing of the -P value.