0

I have a localhost WordPress website on XAMPP, and I would like to access it from another computer. How do I do it?

So far I've tried the following actions with no success:

  1. Go to Admin Panel > Settings > General and replace localhost with your ip-address for WordPress Address (URL) and Site Address (URL).

  2. edit httpd.conf file in notepad Search for Listen 80 Above line would read like- #Listen 0.0.0.0:80 / 12.34.56.78:80 Change the IP address and replace it with the static IP Save the httpd.conf file ensuring that the server is pointed to #Listen 192.168.1.193:80

  3. In the application root config.php (db connection) replace localhost with IP address of the server

  4. Add in httpd.conf: Allow from all

  5. changed the structure of .htaccess

  6. Add in Directory in httpd-xampp.conf: Require local

Blackbam
  • 14,898
  • 22
  • 85
  • 134
Rajesh
  • 11
  • 1
  • 4
  • Sounds like you arent allowing connections through your firewall. I'd start by checking there is an outbound/inbound rule that allows the page to be accessed remotely. Standard wordpress setup wouldnt require any additional changes to allow a remote connection – Takarii Apr 04 '17 at 11:19
  • Possible duplicate of [Accessing localhost (xampp) from another computer over LAN network - how to?](http://stackoverflow.com/questions/5524116/accessing-localhost-xampp-from-another-computer-over-lan-network-how-to) – Blackbam Apr 04 '17 at 13:39
  • I've added an inbound rule on port 80, and still nothing. – Rajesh Apr 06 '17 at 05:56

0 Answers0