How to test localhost site on cell phone? - wordpress

My scenario is like, I want to test my website on cell phone, which is located on my localhost. It is WordPress site.
My website is not deployed yet on any server. so, Is there anyway to test my localhost site on cell phone?
The question you were referring me it's having a different kind of solution, when compare to my question. because i didn't modified http.config file. i didn't modified my wamp settings.
can anyone help me on this issue?

You check your localhost IP and you will run it on your phone.
But your system and cell phone will be connected with internet.

Related

Accessing local installed Wordpress from a mobile device in the same network

I have set up the latest Wordpress version 5.3.2 on my local machine by using XAMPP 3.2.4.
Since I want to check out my homepage also on a mobile device (not only an emulator on my desktop) I tried to access it from my phone. I always get the error "ERR_CONNECTION_REFUSED" when I try to call it with "http://192.168.0.170/wordpress". This is the IP of my notebook where XAMPP is running.
Interesting thing to add: It works without issues from another notebook in the same network. What I have seen is, that the mobile phone redirects from the IP address to "localhost/wordpress" while the notebooks do not redirect.
Now, I am aware that this is not a new problem and I have read most likely all posts on this topic in the internet. What did I already tried and changed in order to get it running:
Add an entry in the Firewall settings to allow connections on port 80
Change the site URL and home URL in the wordpress settings to the local IP
There are multiple suggestions to change settings in the Apache config files from XAMPP. I did not do any changes there as the code which is proposed to be changed cannot be found in the files.
Do you have any idea why it could not work on a mobile device while it does work from another notebook?
Thank you very much!
Regards,
Philip

Acessing WordPress locally on different network

I've been having trouble accessing my local wordpress project on different network. The site just keeps loading, and I can't even access the admin panel. I inspected the net panel. It's showing this IP instead of 'localhost' or my real local IP. Since I'm new to wordpress I would like to hear some solutions to this problem.
EDIT: The problem was in the Database. That IP was stored in options table.
I used interconnectit to change the '192.168.0.12' to 'localhost' and I can confirm that it works now.
To run wordpress on your local pc you should have a server installed, for example wamp server.
If this step is fine, make sure that you are masking correctly localhost with this ip at hosts file (C:\Windows\System32\drivers\etc).
Finally, if you are moving wordpress from another location, make sure that all db records (especially on wp_options table) have the url changed.
For sharing project hosted localhost over network, you can use Ngrok

Trouble viewing locally served (MAMP) Wordpress site over WiFi

I'm building a site using MAMP and Wordpress on my MacBook. When I try and view it over WiFi on my Windows PC I can see the html but images and CSS files are not loading.
Does anyone know where I can begin to try and find the problem? What I might be able to do to fix it?
Thanks
Looks like your WiFi routner has its own subnet. If possible, configure it as an Access Point - or buy one. This is cheaper then working with routing tables.
Peter

How do I make local sites available across home network using MAMP Pro?

I'm using MAMP Pro to create virtual server url's for my local sites I'm developing. I'm having a play with jquerymobile at the moment and have assigned a server name in the "hosts" section of the MAMP admin that is "http://jquerymobile.dev". This works fine on my main machine MAMP is running on but would love to be able to see what I'm doing on my iPhone that is also on my home network.
I can successfully navigate to my computers IP address from my phone and it shows the MAMP homepage, but I want to also be able to navigate to "http://jquerymobile.dev" on my iPhone. Is this possible?
You can use the hosts file on other devices in your local network and forward jquerymobile.dev to the local IP address of the machine running MAMP.
I don't think this is possible on an iPhone though. You might want to try to change DNS zone settings in your router.
Thanks Julesj,
In the end I found the easiest way to achieve what I'm after is using https://showoff.io/

Wordpress Blog system display setup problem

I had followed all the installation step on the wordpress.org and working fine on the host machine . Everything including image ,flash, text can be display on the Host pc. However, when i try to connect the hose via local IP(eg.192.168.0.112) from another LAN PC. In come out only shows words On the local PC. No image no flash at all..
Can't find any info on the web anyone who know how to fix it please help
Solved.. -_- very simple question
it is just because the wordpress engine try to load CSS from Localhost/wordpress/.../default.css
it should be load from the host machine. which is /192.168.0.112/wordpress/.../default.css
so go the the admin setting
type in your wordpress address and site address with ur local ip
it should be working

Resources