Skip to content

Commit

Permalink
fix: listen on ipv4 by default. May prevent issues on VPS with ipv6 e…
Browse files Browse the repository at this point in the history
…nabled
  • Loading branch information
dec0dOS committed Jun 21, 2021
1 parent e5dada6 commit eb17cab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/bin/www
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ var server = http.createServer(app);
* Listen on provided port, on all network interfaces.
*/

server.listen(port);
server.listen(port, process.env.LISTEN_ADDRESS || "0.0.0.0");
server.on("error", onError);
server.on("listening", onListening);

Expand Down

0 comments on commit eb17cab

Please sign in to comment.