Jump to content


easy ip address question to answer

  • Please log in to reply
4 replies to this topic

#1 ear

  • New Members
  • Pip
  • Newbie
  • 1 posts

Posted 01 July 2003 - 10:54 PM

how do i find what my ip address is for people to access my website from outside of my home network. someone told me to do a command prompt with \'netstat -an\' but the ip address that show up there when typed into IE is google.com. should i run apache and then load http://localhost and try to find the IP address? sometimes with \'netstat -an\' i get a *:* for the foreign address, does this mean i cant view it for privacy/security/encryption reasons or something?

#2 Arenium

  • Staff Alumni
  • Advanced Member
  • 111 posts
  • LocationMassachusetts

Posted 02 July 2003 - 03:47 AM

make a simple php page...


of course there are thousands of ways to do it in both windows and linux, but theres just one

#3 Nevets

  • Members
  • PipPip
  • Member
  • 10 posts

Posted 06 July 2003 - 06:33 PM

Well the problem with doing that... is if you\'re using localhost... I think the remote address will come up and say which isn\'t what you want.

On windows:
open a command window and type ipconfig and then depending on how your network is setup you\'ll get something like this:
Windows IP ConfigurationEthernet adapter Local Area Connection:        Connection-specific DNS Suffix  . :        IP Address. . . . . . . . . . . . :        Subnet Mask . . . . . . . . . . . :        Default Gateway . . . . . . . . . :
In my case since I\'m using a LAN I have a private ip address.

On Unix(BSD/Linux):
use the command: ifconfig
you\'ll get something like this:
$ ifconfigdc0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500        inet netmask 0xffffff00 broadcast        inet6 fe80::204:5aff:fe5f:e0cc%dc0 prefixlen 64 scopeid 0x1        ether 00:04:5a:5f:e0:cc        media: Ethernet autoselect (100baseTX <full-duplex>)        status: active
you\'re looking for the part that says inet
If you need any help, feel free to ask

#4 Nevets

  • Members
  • PipPip
  • Member
  • 10 posts

Posted 18 April 2004 - 10:41 PM


#5 nucleo

  • New Members
  • Pip
  • Newbie
  • 1 posts
  • LocationMontreal, QC

Posted 06 October 2005 - 09:21 PM

Go here. This will give you your External IP or WAN IP if you prefer.

If you cannot see your webpage make sure that your webserver is not only listening on the localhost (

Then if you are using a router/firewall you need to set fowarding rules/ firewall rules to let the request reach the computer.

If all this fail, you should contact your Internet Service Provider and ask them if they block port 80. If so change the port inside you webserver configuration.

To make it easier for everyone to reach your webserver you should create a dynamic dns from one of the several possible solution like dyndns, noip, etc...

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users