You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by Scott Nusbaum <sc...@citi.com> on 2008/02/28 19:00:59 UTC
Cannot connect to port 25 from windows machine
Thank you in advance for any help.
I installed James 2.3.1 on windows xp without any problems. I can telnet to
port 25 and 4555 successfully from this same machine when using the
commands:
telnet localhost 25
telnet localhost 4555
telnet machinename 4555
telnet <ip address> 4555
but when I try the command telnet machinename 25 or telnet <ip address> 25
it fails with the message:
Connecting To machinename..Could not open connection to the host, on port
25: Connect Failed.
netstat -an command confirms that the port is listening:
Proto Local Address Foreign Address State
TCP 0.0.0.0:25 0.0.0.0:0 LISTENING
TCP 0.0.0.0:110 0.0.0.0:0 LISTENING
TCP 0.0.0.0:119 0.0.0.0:0 LISTENING
TCP 0.0.0.0:4555 0.0.0.0:0 LISTENING
If I log into a Unix machine and use either of the above commands it
connects successfully. If I log into another windows machine the same
commands fail.
Does anyone know why this would be?
I have used some of sample programs from the Tutorials to generate and send
emails they work as long as the mail client is as follows:
MailClient greenClient = new MailClient("green", "localhost");
when the localhost is changed to machinename a "Connection refused: connect"
exception is reported.
Rather than posting the complete config.xml file if needed please let me
know what sections are needed. The same results happen before and after I
configure the config.xml file.
Thank you again.
Scott
--
View this message in context: http://www.nabble.com/Cannot-connect-to-port-25-from-windows-machine-tp15742216p15742216.html
Sent from the James - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org
Re: Cannot connect to port 25 from windows machine
Posted by Scott Nusbaum <sc...@citi.com>.
Stefano,
I took your suggestion about the port 25 being closed and moved the smtp
port from 25 to 1555 and now I am able to access it local and remotely by
name and ip address. I'm still curious why I could connect through unix and
not windows for port 25 but I guess I can talk to our network guys for that.
Thank you for your help and sorry to have taken your time.
Scott
-------------------------------
It my companies intranet and I do not have control over it. I've tried
installing on a second windows machine and now I cannot telnet into port 25
at all. Even using local host.
----------------------------
Stefano Bagnara-2 wrote:
>
> Is the network between the server and the failing clients under your own
> control? Many internet provider put firewall filters on port 25.
>
> Stefano
>
--
View this message in context: http://www.nabble.com/Cannot-connect-to-port-25-from-windows-machine-tp15742216p15744710.html
Sent from the James - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org
Re: Cannot connect to port 25 from windows machine
Posted by Scott Nusbaum <sc...@citi.com>.
Stefano,
I took your suggestion about the port 25 being closed and moved the smtp
port from 25 to 1555 and now I am able to access it local and remotely by
name and ip address. I'm still curious why I could connect through unix and
not windows for port 25 but I guess I can talk to our network guys for that.
Thank you for your help and sorry to have taken your time.
Scott
-------------------------------
It my companies intranet and I do not have control over it. I've tried
installing on a second windows machine and now I cannot telnet into port 25
at all. Even using local host.
----------------------------
Stefano Bagnara-2 wrote:
>
> Is the network between the server and the failing clients under your own
> control? Many internet provider put firewall filters on port 25.
>
> Stefano
>
--
View this message in context: http://www.nabble.com/Cannot-connect-to-port-25-from-windows-machine-tp15742216p15744413.html
Sent from the James - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org
Re: Cannot connect to port 25 from windows machine
Posted by Scott Nusbaum <sc...@citi.com>.
Stefano,
I took your suggestion about the port 25 being closed and moved the smtp
port from 25 to 1555 and now I am able to access it local and remotely by
name and ip address. I'm still curious why I could connect through unix and
not windows for port 25 but I guess I can talk to our network guys for that.
Thank you for your help and sorry to have taken your time.
Scott
-------------------------------
It my companies intranet and I do not have control over it. I've tried
installing on a second windows machine and now I cannot telnet into port 25
at all. Even using local host.
----------------------------
Stefano Bagnara-2 wrote:
>
> Is the network between the server and the failing clients under your own
> control? Many internet provider put firewall filters on port 25.
>
> Stefano
>
--
View this message in context: http://www.nabble.com/Cannot-connect-to-port-25-from-windows-machine-tp15742216p15744410.html
Sent from the James - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org
Re: Cannot connect to port 25 from windows machine
Posted by Scott Nusbaum <sc...@citi.com>.
Stefano,
I took your suggestion about the port 25 being closed and moved the smtp
port from 25 to 1555 and now I am able to access it local and remotely by
name and ip address. I'm still curious why I could connect through unix and
not windows for port 25 but I guess I can talk to our network guys for that.
Thank you for your help and sorry to have taken your time.
Scott
-------------------------------
It my companies intranet and I do not have control over it. I've tried
installing on a second windows machine and now I cannot telnet into port 25
at all. Even using local host.
----------------------------
Stefano Bagnara-2 wrote:
>
> Is the network between the server and the failing clients under your own
> control? Many internet provider put firewall filters on port 25.
>
> Stefano
>
--
View this message in context: http://www.nabble.com/Cannot-connect-to-port-25-from-windows-machine-tp15742216p15744411.html
Sent from the James - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org
Re: Cannot connect to port 25 from windows machine
Posted by Scott Nusbaum <sc...@citi.com>.
Stefano,
I took your suggestion about the port 25 being closed and moved the smtp
port from 25 to 1555 and now I am able to access it local and remotely by
name and ip address. I'm still curious why I could connect through unix and
not windows for port 25 but I guess I can talk to our network guys for that.
Thank you for your help and sorry to have taken your time.
Scott
-------------------------------
It my companies intranet and I do not have control over it. I've tried
installing on a second windows machine and now I cannot telnet into port 25
at all. Even using local host.
----------------------------
Stefano Bagnara-2 wrote:
>
> Is the network between the server and the failing clients under your own
> control? Many internet provider put firewall filters on port 25.
>
> Stefano
>
--
View this message in context: http://www.nabble.com/Cannot-connect-to-port-25-from-windows-machine-tp15742216p15744406.html
Sent from the James - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org
Re: Cannot connect to port 25 from windows machine
Posted by Scott Nusbaum <sc...@citi.com>.
It my companies intranet and I do not have control over it. I've tried
installing on a second windows machine and now I cannot telnet into port 25
at all. Even using local host.
----------------------------
Is the network between the server and the failing clients under your own
control? Many internet provider put firewall filters on port 25.
Stefano
--
View this message in context: http://www.nabble.com/Cannot-connect-to-port-25-from-windows-machine-tp15742216p15744220.html
Sent from the James - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org
Re: Cannot connect to port 25 from windows machine
Posted by Stefano Bagnara <ap...@bago.org>.
Is the network between the server and the failing clients under your own
control? Many internet provider put firewall filters on port 25.
Stefano
Scott Nusbaum ha scritto:
> I can ping the machine name and ip from all computers. I can telnet into
> ports 110 and 4555 from all computers but I still cannot telnet into the
> port 25 from the local machine or remote windows machine using either the
> machine name or the ip address.
>
> Thanks again for helping I've been trying to figure this out for a while and
> I cannot understand why it would connect from AIX and Solaris but not from
> local or windows. It doesn't make sense to me.
>
> Scott
> ---------------------------------
>
> If you use the IP and not the name in the telnet then it has to be
> something in the network between the servers you are trying.
> I'm not aware of any issue that could led your host to accept
> connections only from Linux ;-)
>
> Check "ping IP" and "telnet IP 110", "telnet IP 4555" from each machine.
>
> Stefano
>
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org
Re: Cannot connect to port 25 from windows machine
Posted by Scott Nusbaum <sc...@citi.com>.
I can ping the machine name and ip from all computers. I can telnet into
ports 110 and 4555 from all computers but I still cannot telnet into the
port 25 from the local machine or remote windows machine using either the
machine name or the ip address.
Thanks again for helping I've been trying to figure this out for a while and
I cannot understand why it would connect from AIX and Solaris but not from
local or windows. It doesn't make sense to me.
Scott
---------------------------------
If you use the IP and not the name in the telnet then it has to be
something in the network between the servers you are trying.
I'm not aware of any issue that could led your host to accept
connections only from Linux ;-)
Check "ping IP" and "telnet IP 110", "telnet IP 4555" from each machine.
Stefano
--
View this message in context: http://www.nabble.com/Cannot-connect-to-port-25-from-windows-machine-tp15742216p15743341.html
Sent from the James - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org
Re: Cannot connect to port 25 from windows machine
Posted by Stefano Bagnara <ap...@bago.org>.
Scott Nusbaum ha scritto:
> Stefano,
>
> Thank you for the speedy reply. The Windows firewall is disabled. Wouldn't
> the firewall block all connections not just those from windows. Unix
> connections still succeed.
>
>
> Scott
If you use the IP and not the name in the telnet then it has to be
something in the network between the servers you are trying.
I'm not aware of any issue that could led your host to accept
connections only from Linux ;-)
Check "ping IP" and "telnet IP 110", "telnet IP 4555" from each machine.
Stefano
> Stefano Bagnara-2 wrote:
>> If telnet from localhost work then this is probably a firewall issue.
>> Check your windows firewall.
>>
>> Stefano
>>
>> Scott Nusbaum ha scritto:
>>> Thank you in advance for any help.
>>>
>>> I installed James 2.3.1 on windows xp without any problems. I can telnet
>>> to
>>> port 25 and 4555 successfully from this same machine when using the
>>> commands:
>>> telnet localhost 25
>>> telnet localhost 4555
>>> telnet machinename 4555
>>> telnet <ip address> 4555
>>>
>>> but when I try the command telnet machinename 25 or telnet <ip address>
>>> 25
>>> it fails with the message:
>>>
>>> Connecting To machinename..Could not open connection to the host, on
>>> port
>>> 25: Connect Failed.
>>>
>>> netstat -an command confirms that the port is listening:
>>> Proto Local Address Foreign Address State
>>> TCP 0.0.0.0:25 0.0.0.0:0 LISTENING
>>> TCP 0.0.0.0:110 0.0.0.0:0 LISTENING
>>> TCP 0.0.0.0:119 0.0.0.0:0 LISTENING
>>> TCP 0.0.0.0:4555 0.0.0.0:0 LISTENING
>>>
>>> If I log into a Unix machine and use either of the above commands it
>>> connects successfully. If I log into another windows machine the same
>>> commands fail.
>>> Does anyone know why this would be?
>>>
>>> I have used some of sample programs from the Tutorials to generate and
>>> send
>>> emails they work as long as the mail client is as follows:
>>> MailClient greenClient = new MailClient("green", "localhost");
>>> when the localhost is changed to machinename a "Connection refused:
>>> connect"
>>> exception is reported.
>>>
>>> Rather than posting the complete config.xml file if needed please let me
>>> know what sections are needed. The same results happen before and after I
>>> configure the config.xml file.
>>>
>>> Thank you again.
>>>
>>> Scott
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org
Re: Cannot connect to port 25 from windows machine
Posted by Scott Nusbaum <sc...@citi.com>.
Stefano,
Thank you for the speedy reply. The Windows firewall is disabled. Wouldn't
the firewall block all connections not just those from windows. Unix
connections still succeed.
Scott
Stefano Bagnara-2 wrote:
>
> If telnet from localhost work then this is probably a firewall issue.
> Check your windows firewall.
>
> Stefano
>
> Scott Nusbaum ha scritto:
>> Thank you in advance for any help.
>>
>> I installed James 2.3.1 on windows xp without any problems. I can telnet
>> to
>> port 25 and 4555 successfully from this same machine when using the
>> commands:
>> telnet localhost 25
>> telnet localhost 4555
>> telnet machinename 4555
>> telnet <ip address> 4555
>>
>> but when I try the command telnet machinename 25 or telnet <ip address>
>> 25
>> it fails with the message:
>>
>> Connecting To machinename..Could not open connection to the host, on
>> port
>> 25: Connect Failed.
>>
>> netstat -an command confirms that the port is listening:
>> Proto Local Address Foreign Address State
>> TCP 0.0.0.0:25 0.0.0.0:0 LISTENING
>> TCP 0.0.0.0:110 0.0.0.0:0 LISTENING
>> TCP 0.0.0.0:119 0.0.0.0:0 LISTENING
>> TCP 0.0.0.0:4555 0.0.0.0:0 LISTENING
>>
>> If I log into a Unix machine and use either of the above commands it
>> connects successfully. If I log into another windows machine the same
>> commands fail.
>> Does anyone know why this would be?
>>
>> I have used some of sample programs from the Tutorials to generate and
>> send
>> emails they work as long as the mail client is as follows:
>> MailClient greenClient = new MailClient("green", "localhost");
>> when the localhost is changed to machinename a "Connection refused:
>> connect"
>> exception is reported.
>>
>> Rather than posting the complete config.xml file if needed please let me
>> know what sections are needed. The same results happen before and after I
>> configure the config.xml file.
>>
>> Thank you again.
>>
>> Scott
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
> For additional commands, e-mail: server-user-help@james.apache.org
>
>
>
--
View this message in context: http://www.nabble.com/Cannot-connect-to-port-25-from-windows-machine-tp15742216p15742598.html
Sent from the James - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org
Re: Cannot connect to port 25 from windows machine
Posted by Stefano Bagnara <ap...@bago.org>.
If telnet from localhost work then this is probably a firewall issue.
Check your windows firewall.
Stefano
Scott Nusbaum ha scritto:
> Thank you in advance for any help.
>
> I installed James 2.3.1 on windows xp without any problems. I can telnet to
> port 25 and 4555 successfully from this same machine when using the
> commands:
> telnet localhost 25
> telnet localhost 4555
> telnet machinename 4555
> telnet <ip address> 4555
>
> but when I try the command telnet machinename 25 or telnet <ip address> 25
> it fails with the message:
>
> Connecting To machinename..Could not open connection to the host, on port
> 25: Connect Failed.
>
> netstat -an command confirms that the port is listening:
> Proto Local Address Foreign Address State
> TCP 0.0.0.0:25 0.0.0.0:0 LISTENING
> TCP 0.0.0.0:110 0.0.0.0:0 LISTENING
> TCP 0.0.0.0:119 0.0.0.0:0 LISTENING
> TCP 0.0.0.0:4555 0.0.0.0:0 LISTENING
>
> If I log into a Unix machine and use either of the above commands it
> connects successfully. If I log into another windows machine the same
> commands fail.
> Does anyone know why this would be?
>
> I have used some of sample programs from the Tutorials to generate and send
> emails they work as long as the mail client is as follows:
> MailClient greenClient = new MailClient("green", "localhost");
> when the localhost is changed to machinename a "Connection refused: connect"
> exception is reported.
>
> Rather than posting the complete config.xml file if needed please let me
> know what sections are needed. The same results happen before and after I
> configure the config.xml file.
>
> Thank you again.
>
> Scott
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org