Page 1 of 1

XAMPP for Windows

PostPosted: 11. October 2016 23:37
by injogjeluci
Hello Guys
I have a problem with my XAMPP. When I type 192.168.1.1 inside my browser, this is my routers local IP, I get 192.168.1.1 refused to connect. When i turn on Apache in Xampp Control Panel, it shows Apache website. When i try to configure it in httpd.conf with IP address 127.0.0.1 and port 80, the Apache page works ok but i can still type 192.168.1.1 and i get the same Apache working page and not the admin page of my router.
Can somebody help me with that? Even in German it is ok just help :)
Thank you in advance

Re: XAMPP for Windows

PostPosted: 12. October 2016 12:53
by Nobbie
Are you sure, that 192.168.1.1 is the LAN IP of the router? Everything looks as if the LAN IP of the router is different.
Usually, routers can also reached via a hostname (for example fritz.box), which router are you using and is there also such an hostname for your router?

Last not least, did you apply a Port Forwarding on Port 80 in your router? Maybe you did something wrong?!

Re: XAMPP for Windows

PostPosted: 12. October 2016 19:36
by injogjeluci
Yes i am sure it is 192.168.1.1 because i can see the default gateway with that address and i can access the router from my smartphone using that IP. I am not sure if my Router has a hostname. I am using a TP-Link modem+ router. No i did not apply Port Forwarding on Port 80. I have nothing under Port Forwarding in my Router.
I think i did nothing wrong because i did not play around with its config Files.

Re: XAMPP for Windows

PostPosted: 12. October 2016 20:01
by Altrea
That does not make sense. package routing is not rolling dice.
There must be a reason why your router or your server thinks that 192.168.1.1 needs to be routed to the back to the server.

Re: XAMPP for Windows

PostPosted: 12. October 2016 20:04
by injogjeluci
There is a reason for sure ... there is nothing without a reason in Engineering but i am just asking for your help because i could not figure it out myself. Could you please tell me any config files where the problem could be?

Trying to solve it I tried to change the Listening address to 127.0.0.1 and port 8082 on httpd.conf and changed Listening address to 127.0.0.1 and port 4434 in httpd-ssl.conf
The result now is that i can not access anything with 192.168.1.1 which keeps being my default Gateway.

Re: XAMPP for Windows

PostPosted: 12. October 2016 20:17
by Altrea
I can not tell you. The only thing i know is that this is not a XAMPP issue and that this issue is extremely difficult to remote debug in a community board.
This could be a router configuration issue.
This could be a network interface configuration issue (for example a static route).
This could be a browser or browser plugin configuration issue.
This could be a Windows configuration issue.

You need to isolate which of the candidates is the real one.
Use a different browser, this is the easiest task.
Print out your static routes. Print out your network configuration.
Use a network sniffer to follow packages.

Re: XAMPP for Windows

PostPosted: 12. October 2016 20:34
by injogjeluci
1. Its not a router configuration issue and it is not the browser too ... I used Wireshark to sniff in my network and when i tried to connect to 192.168.1.1 ... no request was sent from my PC to that router. I used Torch, Opera and Edge browsers and its the same with all of them .
I did an route print in CMD and i got this .... 192.168.1.1 255.255.255.255 On-Link 192.168.1.1 and Metric 281
BTW thank you for your effort :)