|
-
Aug 3rd, 2006, 03:32 PM
#1
Thread Starter
Hyperactive Member
How Do I Connect?
Hi I was wondering if it is possible to connect to a computer that is on a "HOME NETWORK"?
Explenation: I built an IRC Program and i'm putting server on a computer that is on my home network.I go to www.cmyip.com and it gives me the internet ip of the computer but when i put it in on my client program i can't seem to connect.
If you don't understand here's what i mean.
1) Put Main Server on Computer that is on a home network
2) got Internet IP of the computer that is on a home network from (www.cmyip.com)
3) im at my friends house and i try connecting to the server with client program using the Same IP from (www.cmyip.com) but fails to connect.
4) i get extreamly pist off! lol
Don't worry i'm no noob so please don't ask me stupind questions for i'm used to working with networks.
Coding's a Breeze if you'r at ease! GOD THATS CORNY!!
 - 
-
Aug 3rd, 2006, 03:34 PM
#2
Thread Starter
Hyperactive Member
Re: How Do I Connect??????????????????????????????????
And
5)Excuse my English I was in a rush
Coding's a Breeze if you'r at ease! GOD THATS CORNY!!
 - 
-
Aug 3rd, 2006, 03:59 PM
#3
Re: How Do I Connect??????????????????????????????????
You're most likely behind a router (either a separate box or your modem is also a router). You need to forward the port you're using for IRC to the computer the server is running on. Depending on the router, you may also have to give that computer a static internal address.
I assume that when you run the client on one of ythe computers in the network it works - otherwise you have other problerms you have to clear up first. (Like punching a hole in the firewall on the server or turning the firewall off.)
The most difficult part of developing a program is understanding the problem.
The second most difficult part is deciding how you're going to solve the problem.
Actually writing the program (translating your solution into some computer language) is the easiest part.
Please indent your code and use [HIGHLIGHT="VB"] [/HIGHLIGHT] tags around it to make it easier to read.
Please Help Us To Save Ana
-
Aug 3rd, 2006, 04:03 PM
#4
Thread Starter
Hyperactive Member
Re: How Do I Connect??????????????????????????????????
Ok ill try that. I do have a firewall and that may be the case. I also have another question. How would i use vb to get the Internet IP addresse instead of getting network IP addresse?
Coding's a Breeze if you'r at ease! GOD THATS CORNY!!
 - 
-
Aug 3rd, 2006, 04:21 PM
#5
Re: How Do I Connect??????????????????????????????????
You could use VB (Winsock1.LocalIP, for instance), but ipconfig (run from a cmd window) will tell you what it is, and if you make it static (Control Panel/Network Connections/<your connection>/Properties/Internal Protocol (TCP/IP)/Properties/Use the following IP address - you'll have to set the DNS addresses too - you can find them in your router) it won't change. (Choose one outside the range of your router's DHCP server, and not ending in .0 or .255)
The most difficult part of developing a program is understanding the problem.
The second most difficult part is deciding how you're going to solve the problem.
Actually writing the program (translating your solution into some computer language) is the easiest part.
Please indent your code and use [HIGHLIGHT="VB"] [/HIGHLIGHT] tags around it to make it easier to read.
Please Help Us To Save Ana
-
Aug 3rd, 2006, 05:04 PM
#6
Thread Starter
Hyperactive Member
Re: How Do I Connect??????????????????????????????????
I'm going to need someone to help me because i did what you said about the connecting part but doesnt seem to work do you have msn?
Coding's a Breeze if you'r at ease! GOD THATS CORNY!!
 - 
-
Aug 3rd, 2006, 05:42 PM
#7
Thread Starter
Hyperactive Member
Re: How Do I Connect??????????????????????????????????
Ok i tryed turning of firewalls on pc running server but didnt work. if i plug the internet directly to pc running server it works fine. Is it because my administrator computer (computer sharing internet) is running firewall?
My network is not big its two computer connected with a crosscable no routers.All is configured correctly but im thinking maybe its administrator firewall that may be blocking is that possible?
Coding's a Breeze if you'r at ease! GOD THATS CORNY!!
 - 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|