connect to localhost from a device that is in the same network use XAMPP

0

Well hello friends of the community queriero know how to activate the remote connection of Xampp to connect a mobile device eh echo what a lot of forum says

  • changing the port from 80 to 8080
  • in the file httpd-xampp.conf I added this code at the end

    #
# New XAMPP security concept
#
# Close XAMPP security section here
<LocationMatch “^/(?i:(?:security))”>
Order deny,allow
#Deny from all
#Allow from ::1 127.0.0.0/8
Allow from all
ErrorDocument 403 /error/HTTP_XAMPP_FORBIDDEN.html.var
</LocationMatch>
# Close XAMPP sites here
<LocationMatch “^/(?i:(?:xampp|licenses|phpmyadmin|webalizer|server-status|server-info))”>
Order deny,allow
#Deny from all
#Allow from ::1 127.0.0.0/8
Allow from all
ErrorDocument 403 /error/HTTP_XAMPP_FORBIDDEN.html.var
</LocationMatch>
  • eh deactivated the antivirus and the firewall

  • in the browser I put my ip followed by the name my application or xampp

in the browser sends me this error

Not Found

HTTP Error 404. The requested resource is not found.

Help you thank you in advance

    
asked by Jose 22.11.2017 в 18:07
source

1 answer

1

If what you want to do is connect from a mobile device (eg a tablet) to your web application, you simply have to enter the IP address of the PC where your application is hosted.

Example: in the navigator of the device you would have to put an address similar to this:

http://192.168.1.2/miaplicacion.php

If you changed the port, add it to the end.

http://192.168.1.2/miaplicacion.php:8080

In your case you would have to change the part of:

192.168.1.2

by the ip address of the PC that has your application hosted.

Greetings.

    
answered by 22.11.2017 в 20:16