Hi all.
I have a client-server Silverlight application, which is use Socets. I have server appliaction on may computer(Win Form application) and client applucation as web site(Silverlight application). I use policy server which open port 943.
Everything works fine on this application.
But now I need to write another client-server application. Server for that application olso use port 943 for policy connection. When I try to run this 2 server applications on the same compyeter an excepten is thrown which says that only one application can work on port 943.
How can I solve this problem?
Thanks.
views:
38answers:
3
A:
Use a different port for the second server.
Alternatively, use the REUSEADDR socket option, but that's not a good idea.
Matthew Iselin
2010-04-18 10:41:38
I can not use other port. The only port for policy server is 943.
Samvel Siradeghyan
2010-04-18 11:16:51
@Samvel: There is no other way around it - it's a limitation of TCP itself that you just have to live with.
Matthew Iselin
2010-04-18 11:19:12
A:
Isn't the idea of a policy server to grant access to multiple applications?
Nikolai N Fetissov
2010-04-18 18:44:42
+1
A:
The only thing you need to do is to write separate policy server application and run it before your main server application.
Noro
2010-04-19 07:13:37