Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Register Log in

access LAN from outside

Status
Not open for further replies.

alzomor

Advanced Member level 2
Joined
Jun 9, 2005
Messages
678
Helped
39
Reputation
78
Reaction score
8
Trophy points
1,298
Location
Cairo
Activity points
6,417
access outside lan test

Hi

I have a socket client server program in C
I have tested this program on LAN between 2 Pcs and it was working fine.

Now I am trying to test the program from out side "server on my LAN and client from internet"
I am using port 5000 so I set port forwarding on my ADSL router to forward requestes on port 5000 to the PC running the socket server application.

always I fail to connect to server from outside.

on the other hand I can't ping the network WAN address from out side
If ping from inside the LAN I get response and If I ping from out side the lan I get time out.

Finally If I run Appachi server , I can access the test website from outside!!!

So what should be the problem?

Salam
Hossam Alzomor
 

ahmed osama

Full Member level 6
Joined
Jul 18, 2004
Messages
352
Helped
2
Reputation
4
Reaction score
0
Trophy points
1,296
Location
Cairo, Egypt, Egypt
Activity points
2,655
check website from outside lan

1st of all some router need reboot after configing port fwd
2nd check any firewall u have (xp firewall , antivirus ,............)
3rd there is many online port scanner , run ur server software , then try any of them so be sure that the port is opened

well try that and then tell me the result
 

    alzomor

    points: 2
    Helpful Answer Positive Rating

alzomor

Advanced Member level 2
Joined
Jun 9, 2005
Messages
678
Helped
39
Reputation
78
Reaction score
8
Trophy points
1,298
Location
Cairo
Activity points
6,417
how to check website from outside lan

Asslamo 3likom

Thanks Ahmed for your support
I was a strange behaviour of the ADSL router.
I configure the port forwarding but when I restart the router it forgot about its configuration.
I discovered that using port scan.
Now it's working fine.

Salam
Hossam Alzomor
www()i-g()org
www.eandit.com
 

alzomor

Advanced Member level 2
Joined
Jun 9, 2005
Messages
678
Helped
39
Reputation
78
Reaction score
8
Trophy points
1,298
Location
Cairo
Activity points
6,417
test website outside local network

Asslamo 3likom

yes

Salam
Hossam Alzomor
 

Status
Not open for further replies.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top