Windows Service Cannot Accept Connections

  • Thread starter Thread starter wandering1
  • Start date Start date
W

wandering1

I have written a Windows service in c#.
The service is supposed to accept connections using a Tcplistener.
The windows service works perfectly on the development machine running
WindowsXP but when installed on machine with Windows 2000 Advanced
Server it does not work properly.
When running on the windows 2000 machine I can see that a client can
connect to the service, however the TcpListener never shows that a
connection is available, but on the Windows XP machine it does.
I have tried running the service under an admin account, without
success, I have used the .net 1.1 security wizard to give full trust
to the exe and all associated dlls, without success. and i have turned
of .net security all together without success.
Does anyone have any ideas? I'm to the point where I'd start hopping
on one foot turning in circles and rubbing a rabbits foot while
holding a four leaf clover :)
 
Port problem? What port are you doing this on? Is there a chance the
server has something running on that port?
 
Nope the port is not in use. I am using port 54555. Clients can connect
but the TcpListener does not show a connection available.
 
Back
Top