How to Access Local Sever on Other Devices

Read Time:1 Minute, 25 Second

In this article, I am going to show you how you can access your local/localhost server on any other device (Android or iOS).

To access your local server, you only one thing IP Address of the device where the server is running. Now there could be two scenarios where you are using Windows or Mac. You just need to get the IP Address. Let me show you how:

Open windows terminal and type ipconfig in the command line and you will get the following output:

How to Access Local Sever on Other Devices

You only need an IPv4 address and as you get it type this in your mobile browser followed by PORT. For instance-

Enter fullscreen mode Exit fullscreen mode

And if you are running any web app on localhost:3000 then you will be able to see that on your mobile devices also.

For Mac users you have to do the same-

  • Get the IPv4 (use ifconfig command)
  • Put that on your mobile device followed by PORT

And hurray!!!

If you are unable to fine the mac IP address then you can take a look the following article:

How to Find Your IP Address on a Mac

Following is the Video demo of how it works:

Wrapping up

That’s all you need to run you localhost server on other devices. If you enjoyed this article, then don’t forget to give ❤️ and Bookmark 🏷️for later use and if you have any questions or feedback then don’t hesitate to drop them in the comments below. I’ll see in the next one.

🌐 Connect with me:

Twitter
Github
Instagram
Newsletter
LinkedIn
Website
Buy me a Coffee

Source: https://dev.to/j471n/how-to-access-local-sever-on-other-devices-57f1

CyberSEO Pro - OpenAI GPT-3 autoblogging and content curation plugin for WordPress

Tag Cloud

Java Java Logical Programs OTP Generation in Java python Recursion youtube video ASCII Upper and Lower Case blockchain javascript graph learn to code software development Successful Software Engineers breadth first search Java Array Programs Java Programs Uncategorized android ios programming kotlin web-development django data sql cybersecurity database swiftui serverless aws swift rust react background-position gradients loader mask grid nth-child pseudo elements indieweb WordPress Print Array without brackets C++ factorial Java String Programs Final Keyword Static Variable Axie Infinity Cryptokitties NFT games tool inserting MISC Tips Codes python code python projects python3 system info python project Bigginers How to Do Integrations Payment Gateways PHP checkout page in php Implement stripe payment gateway in Step by step in PHP integrate stripe gatway in php mysql payment gateway integration in php step by step payment gateway integration in php step by step with source code payment gateway integration in website PHP Integrate Stripe Payment Gateway Tutorial PHP shopping cart checkout code shopping cart in php stripe php checkout PHP/MySQL/JSON best international payment gateway does google pay accept international payments how to accept international payments in india paytm payment gateway razorpay codeigniter github razorpay custom checkout github razorpay get payment details razorpay integration in codeigniter github razorpay international payments Razorpay payment gateway integration in CodeIgniter razorpay payment gateway integration in php code Razorpay payment gateway integration with PHP and CodeIgniter Razorpay payment gateway setup in CodeIgniter Library & Frameworks Tips & Tricks UI/UX & Front-end coding birds online html code for google sign in login with google account in PHP login with google account using javascript login with google account using javascript codeigniter login with google account using php login with google account using php source code
What is Spring Framework in Java Previous post What is Spring Framework in Java
A Guide to the Most Popular Types of APIs: REST, SOAP, GraphQL, and gRPC Next post A Guide to the Most Popular Types of APIs: REST, SOAP, GraphQL, and gRPC

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.