BrowserQuest Labs
Would you like to react to this message? Create an account in a few clicks or log in to continue.
BrowserQuest Labs

Join the BrowserQuest's Developer community.


You are not connected. Please login or register

Installation issue : "connecting to server"

Go down  Message [Page 1 of 1]

Admin


Admin

From steafler :

I have installed node.js and necessary packages to run browserquest. I have started the browserquest server, which is running on port 8080 and when I go to my browser and type http://localhost:8080/status I can see that server is running and currently no clients are connected. I build the client with configurations like this in client/config/build_config.json file

{
"host": "http://127.0.0.1",
"port": 8080
}

I build my client within bin/build.sh. Then I run this command to create http-server to serve client files.

http-server path-to-client-build -p 8000

I can see the index page with the httpserver running by going to http://localhost:8000/index.html but when I try to connect it gets stuck after saying connecting to server.

NOTE: I am using this http-server to host client files http://search.npmjs.org/#/http-server

https://browserquestlabs.board-directory.net

Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum