Skip to content

mike-lee-dev/multi-ip-node-server

Repository files navigation

multi-ip-2

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/

image

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published