dalai
dalai copied to clipboard
How to modify the server configuration to allow remote access by http://<ip>:3000
Chatgpt was saying to add 0.0,0.0
to app.listen
in the main js file. But I just couldn't find app.listen
command anywhere.
Or is this project specifically obfuscating this to avoid massive access?
looks like it might have been telling you to use an express server maybe:
const express = require('express'); const app = express(); app.listen(3000, () => { console.log('Server is listening on port 3000'); });
maybe??