Can't access my server by IP over LAN

lucas113

Reputable
Mar 25, 2015
31
0
4,530
Hi, good day, this is my trouble:
I can access my server in LAN, but over the LAN I can't, when I try gave a Air Os login form, but my router is TP-LINK, before I changed of ISP, I could access, now I can't.

Thank you and sorry for my bad English.
 

Urumiko

Distinguished
Dec 28, 2013
505
0
19,160


That doesnt make sense. Do you mean you cant access the server from the internet?

If so, you need to look up port forwarding for your router.
 

lucas113

Reputable
Mar 25, 2015
31
0
4,530
Thank you, I opened the 8080 port in router and change the files in apache to this port too.
Again gave the same error, I think the ISP block to access direct by IP
 

Urumiko

Distinguished
Dec 28, 2013
505
0
19,160
Oh, wait a seccond.

Are you trying to access the server from the same network it's on, from the external URL?
That wont work and it's normal. The reason is that a router will never bounce traffic back through the NAT in the same direction it came from.
As long as you know the URL works externally dont worry about it.

If you want to test the URL use an external proxy site like www.hidemyass.com.
If you want to be able to use the URL internally, you need a DNS entry on your lan directing that url to the local IP to override the public DNS record. Some routers will let you do this, if not your only option is to modify the "hosts file" on each internal machine.
If not the only option I know
 

lyner10

Distinguished
Aug 18, 2010
38
0
18,540
Your apache has a security that wont allowed external request. Look it up on youtube or something. It's in there. Are you using Wamp server to hose your website? is it a website that you're trying to get access to,right?
 

lucas113

Reputable
Mar 25, 2015
31
0
4,530
Okay, thanks for all.
But, I'm just connect the PC direct to the Ethernet cable, where the router was.
So don't have a router "disturbing" my connect, and and still with the same problem.
And the apache is allowed to receive external request
 

Urumiko

Distinguished
Dec 28, 2013
505
0
19,160
Guys, I'm pretty sure I've already answered this. You will not be able to access the server using the external URL/IP. This is normal.
If you can access it using the local IP, and other people can use the URL externally. it is working... read my post