Newbie question Access to xampp website from my android

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Newbie question Access to xampp website from my android

Postby grigione » 03. April 2016 15:07

I have a problem I'm tryng to accces from my android to xampp server installaed in my pc running windows 10 64bit
I have modified the httpd-xampp.conf file in this mode:
Code: Select all
<LocationMatch "^/(?i:(?:xampp|security|licenses|phpmyadmin|webalizer|server-status|server-info))">

        Require all granted
    ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var
</LocationMatch>




but in my andoid i can access only at dashboard of apache typing localhost and at phpmyadmin typing localhost/phpmyadmin
If i type localhost/mysite
i get connection refused
any help
Thanks
grigione
 
Posts: 3
Joined: 03. April 2016 14:58
Operating System: windows 10

Re: Newbie question Access to xampp website from my android

Postby Altrea » 03. April 2016 22:13

grigione wrote:but in my andoid i can access only at dashboard of apache typing localhost and at phpmyadmin typing localhost/phpmyadmin

localhost points to the very own computer it is used from. There is no XAMPP version for Android.
:!: :?:
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 8290
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Re: Newbie question Access to xampp website from my android

Postby grigione » 04. April 2016 05:57

I want test my website with my smartphone android. How can I do?
grigione
 
Posts: 3
Joined: 03. April 2016 14:58
Operating System: windows 10

Re: Newbie question Access to xampp website from my android

Postby Nobbie » 04. April 2016 10:46

It depends, how your smartphone is connected to the internet. You *should* connect it to your LAN via your router (same as for the Xampp PC), then simply enter http://xxx.xxx.xxx.xxx in the android browser where xxx.xxx.xxx.xxx is the LAN IP of your Xampp PC.

If your smartphone is NOT connected via your router, but via data line of your smartphone provider, you cannot connect to your Xampp PC in an easy way, you first have to configure your router properly (i.e. PortForwarding) that your Xampp PC is connected to the public WAN. This is not recommended for Xampp and it is quite a lot to do. Therefore connect your smartphone to your LAN and see above.
Nobbie
 
Posts: 8768
Joined: 09. March 2008 13:04

Re: Newbie question Access to xampp website from my android

Postby grigione » 04. April 2016 13:56

I'm connected with smartphone to Router with WIFI
My pc use same connection but is connected with lan cable to Router
MY ip address in local pc is 192.168.0.2
If i type http://192.168.0.2 in the browser of my smartphone i can access to dashboard of Xampp The same applies if i type localhost
But if i type in browser of smartphone http://192.168.0.2/mywebsite ( mywebsite is the folder in htdocs where is located my wordpress site) i get a redirect to http://localhost/mywebsite with connection refused message
grigione
 
Posts: 3
Joined: 03. April 2016 14:58
Operating System: windows 10

Re: Newbie question Access to xampp website from my android

Postby Altrea » 04. April 2016 14:26

Then this is a third party application configuration issue.
Somewhere in your application this redirect is defined.

Try to find a migration guide for your application, very common you need to define a base URL somewhere.
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 8290
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 52 guests