Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > .NET Web Services
|
.NET Web Services Discussions about .NET XML Web Service technologies including ASMX files, WSDL and SOAP.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the .NET Web Services section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 26th, 2004, 07:17 PM
Registered User
 
Join Date: Sep 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Connecting remotely via IP

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...?

 
Old September 26th, 2004, 07:32 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,101
Thanks: 0
Thanked 2 Times in 2 Posts
Default

http://www.theshulers.com/whitepaper...hitepaper.html

Hal Levy
I am here to help you, not do it for you.
 
Old September 26th, 2004, 09:12 PM
Registered User
 
Join Date: Sep 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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...

 
Old September 27th, 2004, 08:48 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,101
Thanks: 0
Thanked 2 Times in 2 Posts
Default

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.
 
Old September 27th, 2004, 09:15 AM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

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.





Similar Threads
Thread Thread Starter Forum Replies Last Post
anyone can help me with my remotely con problem,th raybristol SQL Server 2005 1 January 30th, 2008 09:16 AM
How to connect to a datasource remotely jolo98 General .NET 3 November 18th, 2004 11:11 AM
Connecting to another Access db with different IP ckentebe Access VBA 3 April 21st, 2004 12:08 AM
go to new record remotely stoneman Access VBA 0 February 8th, 2004 07:40 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.