M
M
MakPET2016-06-05 11:17:58
JavaScript
MakPET, 2016-06-05 11:17:58

How can applications be connected to a local server?

Hello! I have a chat on the local Nodejs server and I want to create an application for smorphons for this .... and then I stopped how applications can connect to the local server?
sorry for my russian

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
Rou1997, 2016-06-05
@MakPET

The computer has an IP address on the local network, the smartphone can be connected to the same Wi-Fi network that the computer is connected to, and then from the smartphone it will be possible to access this IP address, you can still do without a smartphone, using Genymotion and etc., that is, emulators, but it is best to rent a VPS or hosting, upload the server part (Node.js) there and easily access it by IP or domain from any device from anywhere in the world, you will get a full-fledged global server.

A
anton achehe, 2016-06-07
@mr-achehe

You find out the ip of the PC in the wifi network, you call the site with this ip restart the server by ip, you access the site from any devices in the wifi network

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question