Accessing Your localhost from your mobile device

You have your localhost set up, and you are working on your responsive website, after trying many of the simulators. You still want to test on actual devices how the sites are going to look like.

Here’s a very simple way of testing your sites and viewing them on your mobile devices.

  1. Have both your localhost computer and your mobile device connected to the same wifi.
  2. Get the IP address of your localhost
  3. Get the port number for your localhost
  4. Write in the following address in your mobile browser: http://ipaddress:portnumber/webdirectory

Now you got it.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s