Tell the app to listen on all interfaces on port PORT to see the connections originating from outside our Docker container
This commit is contained in:
@@ -9,6 +9,6 @@ app.use(express.urlencoded());
|
||||
const routes = require('./api/routes');
|
||||
routes(app);
|
||||
|
||||
app.listen(port, function() {
|
||||
app.listen(port, "0.0.0.0", function() {
|
||||
logger.info('***** Server started on port: ' + port + ' *****');
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user