
Signature
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.
I'm trying to get the sockets to work, I dont care about third party
firewalls. *sigh* I think this is the last time I turn to google msg
boards for help.
Mel O'Drama - 12 Jan 2006 04:08 GMT
> I'm trying to get the sockets to work, I dont care about third party
> firewalls. *sigh* I think this is the last time I turn to google msg
> boards for help.
Try using telnet to connect to your server from Windows....
> telnet server 25
Or just configure your mail client to connect to the server. That at least
should tell you if there's something other than your code that's stopping
you reaching the server.
hamiltonca@yahoo.com - 12 Jan 2006 04:40 GMT
Make sure the host name resolves. Try using just the IP address.
DNS name lookup or NIS name lookup could be the problem. Using the IP
address will rule this out.
Open a cmd window and try pinging the server.
Run the program and in a seperate cmd window use the command
netstat -ni|more and look for the server's IP address, the state of the
socket will show you what is going on with your socket connection.
Luc The Perverse - 12 Jan 2006 05:42 GMT
> I'm trying to get the sockets to work, I dont care about third party
> firewalls.
I think what people are trying to say is that connecting maybe a problem on
the OS level and have nothing to do with your code.
Grab another mail client not previously installed on the system, run it and
verify it connects and you will have eliminated the possibility that it is a
firewall/network/hardware issue and established that the computer is capible
of connecting to the server.
Often times you will find that when there cannot possibly be a mistake with
the piece of code you are trying to fix, that you are right, there isn't a
mistake with it.
> *sigh* I think this is the last time I turn to google msg
> boards for help.
Try usenet instead, it allows you to quote who you are replying to so people
don't get confused.
--
LTP
:)
Roedy Green - 12 Jan 2006 06:38 GMT
On 11 Jan 2006 19:42:06 -0800, "Thundar"
<jschleifer@iis-consulting.com> wrote, quoted or indirectly quoted
someone who said :
>I'm trying to get the sockets to work, I dont care about third party
>firewalls. *sigh* I think this is the last time I turn to google msg
>boards for help.
People can't help you if they don't understand your problem. "getting
sockets to work" is to broad.
You CAN'T ignore the problem of firewalls when you use sockets. That's
one reason why they are not more widely used. You can temporarily
ignore the problem by using a pair of machines on the same LAN without
a firewall between them.
This is not a Google message board. This is a newsgroup. Google is
only one way, and not a very good way, of using it. See
http://mindprod.com/jgloss/newsgroups.html

Signature
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.
Alan Krueger - 14 Jan 2006 07:27 GMT
> I'm trying to get the sockets to work, I dont care about third party
> firewalls. *sigh* I think this is the last time I turn to google msg
> boards for help.
Usenet is not Google Groups, though Google Groups participates in and
archives Usenet.