Skip to content

Commit

Permalink
fix(tcpServer): enable to receive tcp connection from remote client
Browse files Browse the repository at this point in the history
  • Loading branch information
purpose233 committed Jun 27, 2019
1 parent b33052d commit ee2964e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tcpServer.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const createRemoteTcpServer = (eventEmitter, listenPort) => {
eventEmitter.emit(EventType.RECEIVE_REMOTE_CONNECTION, socket, listenPort);
});

remoteServer.listen(listenPort, '127.0.0.1');
remoteServer.listen(listenPort);
logServerListening(listenPort, 'Tcp Remote');

return remoteServer;
Expand Down

0 comments on commit ee2964e

Please sign in to comment.