mirror of
https://github.com/go-i2p/go-meta-listener.git
synced 2025-07-03 05:47:04 -04:00
make the local listening address configurable
This commit is contained in:
@ -75,7 +75,7 @@ func (ml Mirror) Listen(name, addr, certdir string, hiddenTls bool) (net.Listene
|
||||
if err != nil {
|
||||
// check if host is an IP address
|
||||
if net.ParseIP(name) == nil {
|
||||
host = "127.0.0.1"
|
||||
// host = "127.0.0.1"
|
||||
}
|
||||
port = "3000"
|
||||
}
|
||||
|
Reference in New Issue
Block a user