We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e6832a commit f21ab25Copy full SHA for f21ab25
server.js
@@ -69,10 +69,10 @@ Server.prototype.listen = function (port, onlistening) {
69
}
70
71
self._httpServer && tasks.push(function (cb) {
72
- self._httpServer.listen(port, cb)
+ self._httpServer.listen(port.http || port, cb)
73
})
74
self._udpServer && tasks.push(function (cb) {
75
- self._udpServer.bind(port, cb)
+ self._udpServer.bind(port.udp || port, cb)
76
77
78
parallel(tasks, function (err) {
0 commit comments