Link to home
Start Free TrialLog in
Avatar of Harisha M G
Harisha M GFlag for India

asked on

Port forwarding

Hi,
   I have a modem/router in my house (beetel), which has IP address 192.168.1.1. It acts as DHCP server and I get IP address 192.168.1.3 for my laptop.

I have set up Apache 2 server in my laptop, and I am able to access the web site as either: http://192.168.1.3 or http://localhost

Now, what I need is, I should be able to access this web page from outside my LAN network, using my public IP. How do I do this?
SOLUTION
Avatar of Sum Wum
Sum Wum
Flag of Denmark image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Harisha M G

ASKER

Beetel, 450BX1
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
What IP & port should I put in that page?
192.168.1.3
port 80
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
It asks for the following and I have provided the details given in parenthesis. But still it doesn't work

Service Name: (WEB)
Protocol: (TCP & UDP)
External port: (80)
Internal port: (80)
Internal server IP address: (192.168.1.3)

Open in new window

Try turning off your Windows Firewall to test, that may be blocking it. If that solves it, turn it back on and create an exception:
http://www.brooksnet.com/setup/firewallsetup-sp2.html
Sorry to have not mentioned it, I'm using Ubuntu 10.04, not Windows.
Is there anything else that I need to do in the router?

I don't know about any firewall in ubuntu..
Thank you! It turns out that the page is accessible if the IP address is accessed from outside my LAN. But if I put my IP address in my own system, somehow it is not working.