localhost ad IP static

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

localhost ad IP static

Postby damianodec » 01. September 2020 11:30

good morning, I'm new on this forum.
I'm try XAMPP for windows, downloaded, installed and started is ok.
IP XAMPP server is 192.168.1.100 port 20200, my static IP is 93.148.xxx.xxx
my ISP router has port NAT 20200 to 192.168.1.100
I'm trying a little index.php code in htdocs/damianodec.

when I am out of office I have to check index.php page by my smartphone and I have bookmarked on my smarthone browser (safari) link http://93.148.xxx.xxx:20200/damianodec/index.php and it works.

But when I am inside my office (inside lan 192.168.1.xxx my smartphone links to wifi lan and get DHCP address) that links does not work, I have type localhost:20200/damianodec/index.php

I would like to use one link for all situation, how can I do it?

thank you.

Damiano
damianodec
 
Posts: 3
Joined: 01. September 2020 11:08
XAMPP version: 7.4.6
Operating System: Windows 10

Re: localhost ad IP static

Postby Nobbie » 01. September 2020 17:57

That is a problem of your Router. Here is a detailed article about that issue and how to fix it (what might fail, in some cases there is no other solution then getting another Router): https://docs.connectwise.com/ConnectWis ... s_from_LAN
Nobbie
 
Posts: 13176
Joined: 09. March 2008 13:04

Re: localhost ad IP static

Postby damianodec » 02. September 2020 15:45

thank you, Nobbie.

Damiano.
damianodec
 
Posts: 3
Joined: 01. September 2020 11:08
XAMPP version: 7.4.6
Operating System: Windows 10


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 195 guests