This content originally appeared on DEV Community and was authored by Emmanuel Ifeanyi MECHIE
What's is Needed
- Mobile Hotspot
- A running Server.
Let begin.
Firstly, Turn on your mobile Hotspot
Connect your Pc to the hotspot
then create your server.
for this article I will be using react server.
if your don't have a react project you can create one
npx create-react-app new_react_project
cd new_react_project
npm start
# server will be created on localhost:3000
3000 is the PORT number
if you are on Windows
if you are on Linux
ip a
in my case it is 192.168.43.198
this is equivalent to localhost
Finally, enter the ip address with the PORT number e.g
192.168.43.198:3000
Congratulations, you can now serve your contents to your phone.
This content originally appeared on DEV Community and was authored by Emmanuel Ifeanyi MECHIE
Emmanuel Ifeanyi MECHIE | Sciencx (2021-11-07T08:42:26+00:00) How To Connect Your Server To Your Phone.. Retrieved from https://www.scien.cx/2021/11/07/how-to-connect-your-server-to-your-phone/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.