You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by 王 兴勇 <le...@hotmail.com> on 2008/11/10 11:13:01 UTC
mina connection refused exception
Hi All:
I development a socket server based on mina framework . In the test found a very serious problem.
The question is this:
Test environment 1: I deployed the Socket Server on a machine in the local area network machine, the Server is work very well.
Test environment 2: I deployed the Socket Server on a machine in the internet. In the simulation of 100 local internet users to connect, there have been problems in client service had received only 90% of the request, the client received 10% of the connection was refused (connection refused) exception.
A few days, and we have not resolved, could not find the cause of the problem!
Called upon to lend a helping hand to the point guide!!
Thank you!!
_________________________________________________________________
5 GB �������� �����±�ݡ���ȫ���o�����]���Ͳ��� �� �������� Windows Live Hotmail
http://mail.live.com
Re: mina connection refused exception
Posted by Emmanuel Lecharny <el...@gmail.com>.
王 兴勇 wrote:
> Hi All:
> I development a socket server based on mina framework .
Which version ?
> In the test found a very serious problem.
> The question is this:
> Test environment 1: I deployed the Socket Server on a machine in the local area network machine, the Server is work very well.
>
So far, so good.
> Test environment 2: I deployed the Socket Server on a machine in the internet. In the simulation of 100 local internet users to connect, there have been problems in client service had received only 90% of the request, the client received 10% of the connection was refused (connection refused) exception.
>
Any firewall in the middle ? Which kind of error do you have?
>
> A few days, and we have not resolved, could not find the cause of the problem!
>
We won't either.
I suggest you read this page :
http://mina.apache.org/contact.html#Contact-BeforePostingYourMessage
Thanks.
--
--
cordialement, regards,
Emmanuel Lécharny
www.iktek.com
directory.apache.org
AW: mina connection refused exception no---signature
Posted by Steve Ulrich <st...@proemion.com>.
> 王 兴勇 [mailto:leo.wangxy@hotmail.com] wrote:
>
> Hi All:
Hi!
> I development a socket server based on mina framework . In the test
> found a very serious problem.
> The question is this:
> Test environment 1: I deployed the Socket Server on a machine in the
> local area network machine, the Server is work very well.
> Test environment 2: I deployed the Socket Server on a machine in the
> internet. In the simulation of 100 local internet users to connect,
> there have been problems in client service had received only 90% of the
> request, the client received 10% of the connection was refused
> (connection refused) exception.
This could be due to firewall or server settings. Maybe firewall or server is thinking of a Denial of Service, because of 100 connections of the same client pc.
There might be other configuration problems (connection limits, brandwidth limits, etc.).
How much upstream do you have and is it enough to handle 100 concurrent connections?
Are you behind a NAT-Router and can it handle so much connections with same source IP and target ip+port?
Try to start your client from a computer with direct connection to the inet.
> A few days, and we have not resolved, could not find the cause of the
> problem!
> Called upon to lend a helping hand to the point guide!!
A LAN is faster and without so much failure spots like the internet. So I would check the enviroment first.
hth
Steve