I am running Server on windows7 OS and Firewall is Already turned off.

And Here is my DhcpProtocolHandler.messageReceived() method....

public void messageReceived(IoSession session, Object message)
throws Exception {
if (logger.isDebugEnabled())
logger.debug("{} -> {} RCVD: {} " + message, session
.getRemoteAddress(), session.getLocalAddress());

final DhcpMessage request = (DhcpMessage) message;

final DhcpMessage reply = dhcpService.getReplyFor(
(InetSocketAddress) session.getServiceAddress(),
(InetSocketAddress) session.getRemoteAddress(), request);

if (null != reply) {
final InetSocketAddress isa = determineMessageDestination(request,
reply);
session.write(reply, isa);
}
}

And i am not getting Exception at session.write(reply,isa). I am getting
that exception after Execution of that line as well as method.


Thanks
Prasanna Kumar G

On Thu, Apr 21, 2011 at 12:05 PM, Emmanuel Lécharny <[email protected]>wrote:

> On 4/21/11 8:07 AM, Prasanna Kumar G wrote:
>
>> java.net.SocketException: Permission denied
>>
> Are you on windows ? Have you a firewall set ?
>
> --
> Regards,
> Cordialement,
> Emmanuel Lécharny
> www.iktek.com
>
>


-- 
Thanks & Regards

Prasanna kumar.G, Software Programmer, Vimukti Technologies Pvt.Ltd.

Cell: + 91-8985995161|  Email: [email protected]   |
www.vimukti.com
+91-8985995161

Reply via email to