Add support for IPv6
parent
5f967891fa
commit
7c3e0ea717
|
|
@ -96,7 +96,10 @@ module.exports =
|
|||
listenIps :
|
||||
[
|
||||
// change ip to your servers IP address!
|
||||
{ ip: '1.2.3.4', announcedIp: null }
|
||||
{ ip: '0.0.0.0', announcedIp: null }
|
||||
|
||||
// Can have multiple listening interfaces
|
||||
// { ip: '::/0', announcedIp: null }
|
||||
],
|
||||
maxIncomingBitrate : 1500000,
|
||||
initialAvailableOutgoingBitrate : 1000000
|
||||
|
|
|
|||
|
|
@ -340,17 +340,11 @@ async function runHttpsServer()
|
|||
|
||||
httpsServer = spdy.createServer(tls, app);
|
||||
|
||||
httpsServer.listen(config.listeningPort, '0.0.0.0', () =>
|
||||
{
|
||||
logger.info('Server running on port: ', config.listeningPort);
|
||||
});
|
||||
httpsServer.listen(config.listeningPort);
|
||||
|
||||
const httpServer = http.createServer(app);
|
||||
|
||||
httpServer.listen(config.listeningRedirectPort, '0.0.0.0', () =>
|
||||
{
|
||||
logger.info('Server redirecting port: ', config.listeningRedirectPort);
|
||||
});
|
||||
httpServer.listen(config.listeningRedirectPort);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in New Issue