Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Network Error or Critical Error #73

Open
Lizting opened this issue Dec 8, 2017 · 0 comments
Open

Network Error or Critical Error #73

Lizting opened this issue Dec 8, 2017 · 0 comments

Comments

@Lizting
Copy link

Lizting commented Dec 8, 2017

src/server/init.js config
Config.host = "localhost";
Config.port = 9000;
Config.chatDatabaseUrl = "mongodb://localhost/simplemessenger";
src/src/client/js/init.js config
Config.apiBaseUrl = "http://localhost:9001/spika/v1";
Config.socketUrl = "http://localhost:9001/spika";

node src/server/main.js

Connecting mongoDB mongodb://localhost/simplemessenger
open() is deprecated in mongoose >= 4.11.0, use openUri() instead, or set the useMongoClient option if using connect() or createConnection(). See http://mongoosejs.com/docs/connections.html#use-mongo-client
Server listening on port 9000!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant