explicitly listen to all IPv4 interfaces
This commit is contained in:
		
							parent
							
								
									1ef305bd3c
								
							
						
					
					
						commit
						9ec88a3e0a
					
				
							
								
								
									
										4
									
								
								index.js
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								index.js
									
									
									
									
									
								
							@ -23,6 +23,6 @@ app.post("/api/fileanalyse", upload.single("upfile"), (req, res) => {
 | 
				
			|||||||
  });
 | 
					  });
 | 
				
			||||||
});
 | 
					});
 | 
				
			||||||
 | 
					
 | 
				
			||||||
app.listen(PORT, function () {
 | 
					app.listen(PORT, "0.0.0.0", function () {
 | 
				
			||||||
  console.log("Your app is listening on port " + PORT);
 | 
					  console.log('Your app is listening on interface "0.0.0.0" and port ' + PORT);
 | 
				
			||||||
});
 | 
					});
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user