I have written a POP server in Java, and when I connect to it with Windows Server 2000, everything is great. When I use XP, the command "RETR 1" causes it to just print one line and then unexpectedly terminate the connection. Is there some configuration that I need to change to keep Windows XP from dropping the connection?
"ACR" <anonymous@discussions.microsoft.com> wrote in message
news:843BCFDE-DE02-4177-BC7B-FC60F840E046@microsoft.com...
> I have written a POP server in Java, and when I connect to it with Windows
Server 2000, everything is great. When I use XP, the command "RETR 1"
causes it to just print one line and then unexpectedly terminate the
connection. Is there some configuration that I need to change to keep
Windows XP from dropping the connection?
>
> Thanks
XP is an operating system, not a mail client.
XP doesn't connect to POP3 servers.
There are several mail clients which run _on_ XP which
connect to POP3 servers, like Outlook Express 6.
Which mail client are you using?
You'd need to capture the traffic and see what the problem is.
Also, turn on logging on the client app, and impliment some form
of logging in your app to determine what's happening.
--
Best Regards,
Ron Lowe
MS-MVP Windows Networking
It doesn't work with any mail client running on Windows XP (or 98). Here is what happens when I try to telnet into it:
c:/>
S: +OK ACR POP Server ready
C: USER nobody
S: +OK
C: PASS *****
S: +OK
C: LIST
S: +OK 1 3
C: RETR 1
S: +OK 3 octets
Connection to host lost.
c:\>
After that, when the Java server tries to read in a line from the socket, it gets null. If I telnet into it with Windows 2000 Server and run the same commands, it prints out the message and lets me enter more commands.
"ACR" <anonymous@discussions.microsoft.com> wrote in message
news89011A3-2551-41BF-B78F-D36B938064D7@microsoft.com...
> It doesn't work with any mail client running on Windows XP (or 98). Here
is what happens when I try to telnet into it:
>
> c:/>
>
> S: +OK ACR POP Server ready
> C: USER nobody
> S: +OK
> C: PASS *****
> S: +OK
> C: LIST
> S: +OK 1 3
> C: RETR 1
> S: +OK 3 octets
>
> Connection to host lost.
>
> c:\>
>
> After that, when the Java server tries to read in a line from the socket,
it gets null. If I telnet into it with Windows 2000 Server and run the same
commands, it prints out the message and lets me enter more commands.
It's not an XP problem as such.
I can connect to POP3 servers using any mail client I want.
Or using telnet as you tried.
You need to impliment logging on your app to see what's going on.
Also, try sniffing the wire using Ethereal or similar, to determine what's
actually going on.
Otherwise you are just guessing.
But given that all other POP3 servers work, I'd have to say it's
something in your app that's dropping the connection...
--
Best Regards,
Ron Lowe
MS-MVP Windows Networking
I still think it's a Windows problem. When I run the server on port 1100 instead of 110, there is no problem at all. Is there something in XP that won't let me run a server on port 110 or something?