Answer the question
In order to leave comments, you need to log in
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
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.
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 questionAsk a Question
731 491 924 answers to any question