dalai icon indicating copy to clipboard operation
dalai copied to clipboard

How to modify the server configuration to allow remote access by http://<ip>:3000

Open wupengcheng6819 opened this issue 1 year ago • 2 comments

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.

wupengcheng6819 avatar Mar 23 '23 21:03 wupengcheng6819

Or is this project specifically obfuscating this to avoid massive access?

wupengcheng6819 avatar Mar 24 '23 06:03 wupengcheng6819

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??

chefbennyj1 avatar Mar 26 '23 01:03 chefbennyj1