I have a WordPress website on 127.0.0.1, but I need to show it via 192.168.. Is there any PHP script that working like a local tunnel? How to solve that? Thanks!
Leave a Reply
You must be logged in to post a comment.
I have a WordPress website on 127.0.0.1, but I need to show it via 192.168.. Is there any PHP script that working like a local tunnel? How to solve that? Thanks!
You must be logged in to post a comment.
To find out your computers IP address, try this
ipconfig
(For Windows, on command line Start->Run->cmd-> enter ipconfig ->Hit Enter)ifconfig
(For *nix console)The fire up your browser and navigate to that IP address. Voila 🙂
EDIT
When using wordpress, make sure your
siteurl
value in your database is NOT set to localhost or 127.0.0.1. That would make you try to call wordpress from the PC you are visiting from. You should put in the IP address you have found out using the steps I mentioned above.You can find the
siteurl
setting in your wordpress database, table name iswp_options