Can't access by ip

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

Can't access by ip

Postby AlKin » 19. March 2019 14:15

Hi all i have a problem, i can't access by ip in my PC and also in my cell.

I have added these lines in httpd-xampp.conf

Code: Select all

# 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>


And nothing it doesn't work.
AlKin
 
Posts: 3
Joined: 19. March 2019 14:09
XAMPP version: 3.2.3
Operating System: Windows

Re: Can't access by ip

Postby Nobbie » 20. March 2019 17:12

1) "Allow From ...." is deprecated in Apache 2.4, use "Require ..." instead. See https://httpd.apache.org/docs/2.4/howto/access.html

2) What means "And nothing it doesnt work"?? I have never seen an error message like "It does not work". Did you??
Nobbie
 
Posts: 13170
Joined: 09. March 2008 13:04

Re: Can't access by ip

Postby Altrea » 20. March 2019 20:53

Why did you even create this part of config parameters?
These parameters comes from an old XAMPP version and is not related any more.

Maybe it would help if you tell us your initial problem so that this could get fixed properly.
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: 11926
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: Can't access by ip

Postby AlKin » 21. March 2019 16:39

Altrea wrote:Why did you even create this part of config parameters?
These parameters comes from an old XAMPP version and is not related any more.

Maybe it would help if you tell us your initial problem so that this could get fixed properly.


I want to access to my localhost with my cell, i put the ip of my PC but i cant enter.
And on the computer if I put his ip instead of localhost I cant enter either.
AlKin
 
Posts: 3
Joined: 19. March 2019 14:09
XAMPP version: 3.2.3
Operating System: Windows

Re: Can't access by ip

Postby Nobbie » 21. March 2019 20:32

Last attempts, if you don't get a meaningful error message, I can't help.

"i cant enter" is not a meaningful error message, it's just garbage. Nobody can do anything with it.
Nobbie
 
Posts: 13170
Joined: 09. March 2008 13:04

Re: Can't access by ip

Postby AlKin » 23. March 2019 13:46

Nobbie wrote:Last attempts, if you don't get a meaningful error message, I can't help.

"i cant enter" is not a meaningful error message, it's just garbage. Nobody can do anything with it.


The connection has expired

The 192.168.0.155 server is taking too long to respond.
AlKin
 
Posts: 3
Joined: 19. March 2019 14:09
XAMPP version: 3.2.3
Operating System: Windows

Re: Can't access by ip

Postby Nobbie » 23. March 2019 14:49

That is NOT a Xampp problem, either your Cellphone (or PC) is NOT in the same WLAN IP Range as Xampp (you did not tell us, how your Cellphone is connected to the Net), or you have a Firewall Issue on the Xampp PC. The error message means, that 192.168.0.155 cannot be reached and it is NOT a message from Apache or so that something goes wrong. Its an TCPIP problem.
Nobbie
 
Posts: 13170
Joined: 09. March 2008 13:04


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 129 guests