Hey Jim:

Basically, how it works is that you probably have a DHCP address.  If 
you're behind a router, what usually happens is that the address your 
machine is getting is different than the address that it's sending out.  
For instance, if you're on a cable modem service, the ISP assigns an IP 
to your cable modem.  This would be a global IP address that the world 
can see you at.  If you have a router connected to this, it uses NAT to 
assign an IP address locally to all the machines on your network. 

In order to host a server behind a routed home network, you need to get 
the external interface address of your border router, and then have your 
border router forward incoming ports to a specific host inside your network.

~Scott


Jim Sager wrote:

> How can you tell the difference between a real IP and a home network?
>  
> I'm starting to write some S2P2P(server to peer to peer) software, and 
> I need to be able to differentiate between a real IP and a home 
> network IP.  From what I am told, you can't really be a server to the 
> internet if you're behind a router on a home network IP.  At least I 
> can't run Apache and have people access my web address when I am on a 
> home network IP.
>  
> Any help is appreciated.  I'm sure the answer is easy. I just don't 
> know it.
>  
> Thanks,
> Jim
>  
> PS: I have a new computer I can code on while I fix my 3d gaming machine.
>
> ------------------------------------------------------------------------
> Sponsored Link
>
> Mortgage rates as low as 4.625% - $150,000 loan for $579 a month. 
> Intro-*Terms 
> <https://www2.nextag.com/goto.jsp?product=100000035&url=%2fst.jsp&tm=y&search=b_rate150k&s=3968&p=5035&disc=y&vers=722>
>  
>
>
>------------------------------------------------------------------------
>
>-------------------------------------------------------------------------
>Take Surveys. Earn Cash. Influence the Future of IT
>Join SourceForge.net's Techsay panel and you'll get the chance to share your
>opinions on IT & business topics through brief surveys - and earn cash
>http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Crystal-main mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/crystal-main
>Unsubscribe: mailto:[EMAIL PROTECTED]
>  
>

-- 
 ______________
|Scott Johnson  \___________________________
|_______________/---------------------------|
|                                           |
| Graphics/Visualization Research Assistant |
| Digital Technology Center                 |
| University of Minnesota                   |
|                                           |
| Office: Walter 460                        |
| Office Phone: 612-625-1257                |
| Web: http://www.cs.umn.edu/~scottj        |
| Email: [EMAIL PROTECTED]                  |
|                                           |
|___________________________________________| 


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Crystal-main mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/crystal-main
Unsubscribe: mailto:[EMAIL PROTECTED]

Reply via email to