Subject: Connecting remotely via IP
Posted By: PaRaDoX Post Date: 9/26/2004 7:17:00 PM
I couldn't find the subject this belongs to so sorry, its here. Anyway.

I've been wondering for a while now how you connect over the internet via an IP adress. Some of my freinds don't think its possible, but then how does a firewall intercept an IP? How do you connect with a modem? How can you do anything on-line...?

Reply By: Hal Levy Reply Date: 9/26/2004 7:32:24 PM
http://www.theshulers.com/whitepapers/internet_whitepaper.html

Hal Levy
I am here to help you, not do it for you.
Reply By: PaRaDoX Reply Date: 9/26/2004 9:12:59 PM
Well thanks, but I didn't really get my first question answered...I learned a bit though...

How do you do it? If you type in an IP address in explorer, it looks for the IP over your LAN, not on the internet. There are only...4228250625 (uniqe) IPs at max if they are limited to 255.255.255.255. I used to play Quake and connected by typing an IP. It was like this: 255.255.255.255:9999. I can't connect to anything with an IP...

Reply By: Hal Levy Reply Date: 9/27/2004 8:48:54 AM
I am a developer, Not a network engineer. You need to look elsewhere for how networks work. I suggest using Google, just like I did, to find you that link.

Your asking for information presented in a networking class that would take hours and hours to complete. You might want to look into that.


Hal Levy
I am here to help you, not do it for you.
Reply By: planoie Reply Date: 9/27/2004 9:15:14 AM
You can connect to internet resources with an IP address.  How do you think your computer actually does it?  Try this: http://216.239.37.99/

When you do anything online you typically reference online resources (web servers, mail servers, etc) with a name.  This name is technically meaningless as far as the network infrastructure of the internet goes.  Something else is required.

Your computer is actually performing a couple operations when you make a request for an online resource.  First it takes the name of the resource you are requesting and looks it up in the internet name "telephone book", or what is known as DNS (domain name service).  This retrieves the IP address of the resource name.  The computer actually makes the request using the IP address.

Now, there are some situations where a request to a single IP address will NOT yield the result you expect.  One easy example is when you deal with Microsoft Internet Information Services (IIS).  You can create several web sites within IIS.  Each web site can have a specified name such as "mywebsite.com".  You have to tell the site what this name is.  When an HTTP request is made, the browser typically sends something called a "host header" in the request.  It is sending the request to an IP address, and including this host header in the request.  IIS receives the request, reads the host header and knows which web site to direct the request to.  This concept applies to many different web server technologies.  This is the technique that allows for complex web hosting companies to put many different web sites on a single server or at least on a single IP address.  Otherwise you'd need a separate server for each one.

You mentioned playing quake and the example of an IP address you used.  The part after the : is the port number of a request.  The use of a port allows you to use several different internet protocols over a single IP.  When you surf the web, the browser uses (by default) port 80.  This is the standard HTTP port.  There are standard ports for many standard internet protocols: 80 - HTTP (world wide web); 25/110 - SMTP/POP3 (mail); 20/21 - FTP; 23 - Telnet; 22 - SSH (remote logon); the list goes on and on.

Hope this clears up a little of your confusion.

Go to topic 19804

Return to index page 762
Return to index page 761
Return to index page 760
Return to index page 759
Return to index page 758
Return to index page 757
Return to index page 756
Return to index page 755
Return to index page 754
Return to index page 753