mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-20 22:16:09 +05:00
IP check
This commit is contained in:
@@ -37,7 +37,7 @@ func Start(port, ip, sslport, sslCert, sslKey string, sslEnabled, roSets, search
|
||||
settings.BTsets.SslKey = sslKey
|
||||
}
|
||||
log.TLogln("Check web ssl port", sslport)
|
||||
l, err := net.Listen("tcp", ":"+sslport)
|
||||
l, err := net.Listen("tcp", ip+":"+sslport)
|
||||
if l != nil {
|
||||
l.Close()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user