bradtraversy / chatcord

Realtime chat app with rooms
1.18k stars 1.16k forks source link

port 3000 is running but can not get in the browser #5

Open jbusman67 opened 4 years ago

jbusman67 commented 4 years ago

port 3000 is running but can not get in the browser how can i get it run in localhost 3000?

usmailaabdoul commented 4 years ago

which errors are u having, cuz by running npm run dev, localhost:3000 should open with the chatCord App on your browser

jbusman67 commented 4 years ago

localhost:3000 runing in the terminal but not runing in browser

vj-abishek commented 4 years ago

Try to open localhost:3000 in the browser by yourself.

Somsubhra1 commented 4 years ago

Can you show us your server.js code?

leslie-alldridge commented 4 years ago

try http://localhost:3000 otherwise share the code since your server file is likely console logging that the server is running but potentially having other issues

marjotoska commented 4 years ago

I literally made it work in 5 mins or less! Here are the steps: -Enter this command at Git Bash: git clone https://github.com/bradtraversy/chatcord (It will download this at your root folder.) -Then type ./chatcord in Bash -Type code . to open VSCode -(IMPORTANT) open terminal in VSCode by pressing Ctrl+~ -Type npm i express socket.io moment -npm start -localhost://3000 in your browser And Voilà! It works!

jbusman67 commented 4 years ago

Thank you all for your support, I really appreciate your guide.

On Sun, Jul 5, 2020, 14:17 marjotoska notifications@github.com wrote:

I literally made it work in 5 mins or less! Here are the steps: -Enter this command at Git Bash: git clone https://github.com/bradtraversy/chatcord (It will download this at your root folder.) -Then type ./chatcord in Bash -Type code . to open VSCode -(IMPORTANT) open terminal in VSCode by pressing Ctrl+~ -Type npm i express socket.io moment -npm start -localhost://3000 in your browser And Voilà! It works!

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/bradtraversy/chatcord/issues/5#issuecomment-653888033, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKO7J5L35Q2BLWVBFHCGN3DR2B4OTANCNFSM4LVQGKZA .