Article View: borland.public.cppbuilder.internet.socket
Article #3332Re: Connecting to my home computer from internet
From: Hans Galema
Date: Sat, 15 Oct 2005 15:29
Date: Sat, 15 Oct 2005 15:29
25 lines
1976 bytes
1976 bytes
Octavia Rivero wrote: > My home computers are connected to my wireless router which is connected to > a ADSL modem. All computers receive their IP addresses (192.168.2.xx) from > HCTP server in the wireless router. > > I wrote very simple TCP/IP and UDP client server applications. They are > working fine in my home network. > > How can I access my servers (my individual home computers) from internet? First: yYou have to know your internet IP address. In your case it is the internet IP address of your router. You can find out by clicking one of of the following links: http://whatismyip.com http://checkip.dyndns.org http://www.betteripaddress.com Second: You have to configure your router in such a way that it forwards UDP requests on port (exemples) 12345 to 192.168.2.3 and port 12345. (Assuming that your server runs on the computer with local ip 192.168.2.3 and is listening on port 12345). Clients connect to the internet address and port 12345. Hans.
Technical Details
Message-ID:
<43511fed@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<43510d6d@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,b762c96f0d482c0f X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Sat, 15 Oct 2005 17:29:16 +0200 From: Hans Galema <notused@notused.nl> User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.internet.socket Subject: Re: Connecting to my home computer from internet References: <43510d6d@newsgroups.borland.com> In-Reply-To: <43510d6d@newsgroups.borland.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 145.98.201.248 Message-ID: <43511fed@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1129390061 145.98.201.248 (15 Oct 2005 08:27:41 -0700) Lines: 25 Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail