Run npm install
- DB install
host: "localhost",
user: "username(Ex: root)",
password: "yourpassword",
database: "multi_ip",
});
Create database named "multi_ip"
Change this also in server.js
Execute "db.sql" file to the database.
- Part Servers
You should run part servers first.
node test_1.js
Run 127.0.0.1:4000
Server to connect from Main Server.
node test_2.js
Run 127.0.0.1:5000
Server to connect from Main Server.
Finally, node server.js
Then check http://localhost:3000/