🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.socket
Article #5172

Re: Internet Newbie Question

#5172
From: Elmar Baumann
Date: Wed, 13 Oct 2004 18:52
77 lines
3730 bytes
Hello Hans,
well, the xx.xx.xx.xx is the WAN-IP and 192.168.0.1 the LAN-IP of the
Router.

I have try it:

Start Server on 192.168.0.100:25
Start Client on 192.168.0.101:25
Set IdSMTP->Host to 192.168.0.100
(Client & Server on different Machines at your Meaning)
Server&Client connecting and Client send mail - all OK !!


I configure my Router as a virtual SMTP-Server leading incoming Requests on
Port 25 to 192.168.0.100:25

At next i've calling a Friend, he is setting a new Account in his
Outlook-Express at my Instructions, mainly setting SMTP-Server to my
xx.xx.xx.xx WAN-IP and send a Message. There is always a Socket-Error, and
the running Server-Application on my Machine is listening and listening. . .
and so on. It comes no Connection and it doesn't recieve anybody.

Is it possible that the Problem is coming from my Internet-Provider. If the
Server-App not receive any incoming Connections, i think it's a Problem with
my Router (i'm searching a new Firmware for this)

Thanks for Helping and excuse my bad English

Elmar Baumann


"Hans Galema" <dontusethis@dontusethis.nl> schrieb im Newsbeitrag
news:416c2a9f$1@newsgroups.borland.com...
> Elmar Baumann wrote:
>
> > my Router Adress was xx.xx.xx.xx (192.168.0.1)
>
> You mean: xx.xx.xx.xx is the internet-IP (or WAN-IP) and
> 192.168.0.1 is the router's LAN-IP ?
>
> > two Computers was connected to the Router 1st 192.168.0.100, 2nd
> > 192.168.0.101
> >
> > 1. starting SMTP-Server on  192.168.0.101 Port 25
> > 2. starting SMTP-Client on  192.168.0.101 Port 25
> > 3. setting IdSMTP->Host to "localhost" or "192.168.0.101"
> > 4. send mail with smtp-client using smtp-server works good.
>
> Ok. Until sofar you used only one computer (in the LAN) and
> server and client were on the same machine. You did not use
> the router here. In my opinion you can combine 2. and 3.:
>
>    start SMTP-Client with IdSMTP->Host to "localhost" or "192.168.0.101"
>
> I would now try the following configuration first where
> you use your notebook and pc in the LAN and server and client
> on diffrent machines.
>
>     start SMTP-Server on 192.168.0.101 Port 25
>     start SMTP-Client (resides on 192.168.0.100)
>     set IdSMTP->Host to "192.168.0.101" port 25
>
> If that works then take your notebook (with your client) to the
> outside world and use dial-up. Is that correct ?
>
>     start SMTP-Server on 192.168.0.101 Port 25
>     start SMTP-Client (resides on laptop)
>     set IdSMTP->Host to "xx.xx.xx.xx" port 25
>
> > 6. send mail with smtp-client using smtp-server raised an exception
"Socket
> > Error #10061 - Connection refused"
>
> Well did you configure your router to forward port 25 to
> 192.168.0.101 Port 25;
>
> Hans.
Technical Details
Message-ID: <416d798c@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <416bfbe7@newsgroups.borland.com> <416bfe41$1@newsgroups.borland.com> <416c0ebe@newsgroups.borland.com> <416c2a9f$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,942271b33639052b
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Elmar Baumann" <elmar-baumann@arcor.de>
Newsgroups: borland.public.cppbuilder.internet.socket
References: <416bfbe7@newsgroups.borland.com> <416bfe41$1@newsgroups.borland.com> <416c0ebe@newsgroups.borland.com> <416c2a9f$1@newsgroups.borland.com>
Subject: Re: Internet Newbie Question
Date: Wed, 13 Oct 2004 20:52:52 +0200
Lines: 79
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2720.3000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2727.1300
NNTP-Posting-Host: 82.83.158.244
Message-ID: <416d798c@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1097693580 82.83.158.244 (13 Oct 2004 11:53:00 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail