Skip to content

Commit

Permalink
listen on all interfaces.
Browse files Browse the repository at this point in the history
  • Loading branch information
Morgul committed Aug 20, 2023
1 parent ae44225 commit 0354e30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ async function main() : Promise<{ app : Express, sio : any, server : any }>
setSIOInstance(sio);

// Start the server
server.listen(config.http.port, () =>
server.listen(config.http.port, '0.0.0.0', () =>
{
const { address, port } = server.address() as AddressInfo;
const host = address === '::' ? 'localhost' : address;
Expand Down

0 comments on commit 0354e30

Please sign in to comment.