StileDevs / GrowServer

A Growtopia private server using NodeJS
MIT License
50 stars 28 forks source link

https://login.growserver.app:8080: login.growserver.app’s server IP address could not be found. #22

Closed HusseinMansourIQ closed 1 month ago

HusseinMansourIQ commented 1 month ago

growserver@2.4.0 dev rimraf dist && rimraf assets/cache && eslint ./src && tsc && vite build --logLevel silent && node -r dotenv/config dist/app.js

[8/25/2024, 6:16:48 PM - INFO ] Please wait extracting cache.zip [8/25/2024, 6:16:48 PM - INFO ] Connecting Discord bot... [8/25/2024, 6:16:48 PM - READY ] Successfully extracting cache.zip [8/25/2024, 6:16:48 PM - INFO ] Loaded custom items [8/25/2024, 6:16:49 PM - READY ] Items data ready! [8/25/2024, 6:16:49 PM - INFO ] Fetching latest Growtopia Cache [8/25/2024, 6:16:50 PM - READY ] Starting web server on: http://127.0.0.1:80 [8/25/2024, 6:16:50 PM - READY ] Starting login server on: https://login.growserver.app:8080 [8/25/2024, 6:16:50 PM - EVENT ] Loaded "disconnect" events [8/25/2024, 6:16:50 PM - EVENT ] Loaded "connect" events [8/25/2024, 6:16:50 PM - EVENT ] Loaded "raw" events

src/structures/Webserver.ts && dist/structures/Webserver.js httpServer.listen(80); 85 │ httpsServer.listen(443); 86 │ httpsServerLogin.listen(8080); https://login.growserver.app:8080: login.growserver.app’s server IP address could not be found. http://http://127.0.0.1:80: works fine

installation installed mkcert npm install npm run mkcert:setup
npm run dv

what am I doing wrong ?

JadlionHD commented 1 month ago

did you set the hosts file correctly?

127.0.0.1 www.growtopia1.com
127.0.0.1 www.growtopia2.com
127.0.0.1 login.growserver.app # New login system for development purposes
HusseinMansourIQ commented 1 month ago

Sorry about that I didn't understand this part, can you walk me through it please, appreciate the help. (I am hosting it on linux)

HusseinMansourIQ commented 1 month ago

I managed to do it, everything is working fine now, thank you.

JadlionHD commented 1 month ago

Alright if you have any issue, freely open a new issue or reopen this issue