Has anyone been able to make a Silverlight socket policy server work with port forwarding?
-
Has anyone been able to make a Silverlight socket policy server work with port forwarding? I really don't want to put the computer in the DMZ, ports 80/443 seem to forward but my policy server seems not to work even when the 943 port is forwarded
fred_ wrote:
my policy server seems not to work even when the 943 port is forwarded
What about the actual connection port (4502-4534)....is that being forwarded?
Mark Salsbery Microsoft MVP - Visual C++ :java:
-
fred_ wrote:
my policy server seems not to work even when the 943 port is forwarded
What about the actual connection port (4502-4534)....is that being forwarded?
Mark Salsbery Microsoft MVP - Visual C++ :java:
-
that works fine. Everything works until Silverlight makes the policy request to open a socket. On my home network works fine. Just won't work from an outside IP
Sorry if these questions are obvious, but I have to ask... :) Does your policy server code ever get hit from outside? If not, is there a firewall blocking port 943?
Mark Salsbery Microsoft MVP - Visual C++ :java:
-
Sorry if these questions are obvious, but I have to ask... :) Does your policy server code ever get hit from outside? If not, is there a firewall blocking port 943?
Mark Salsbery Microsoft MVP - Visual C++ :java:
-
Seems to? You should be able to run in debugger and get a hit on a breakpoint in the policy server code. If that succeeds, and the policy server returns a valid policy file then a connection will be attempted on the specified connection port... that port will need to be forwarded as well - is it being forwarded?
Mark Salsbery Microsoft MVP - Visual C++ :java:
-
Seems to? You should be able to run in debugger and get a hit on a breakpoint in the policy server code. If that succeeds, and the policy server returns a valid policy file then a connection will be attempted on the specified connection port... that port will need to be forwarded as well - is it being forwarded?
Mark Salsbery Microsoft MVP - Visual C++ :java:
-
Seems to? You should be able to run in debugger and get a hit on a breakpoint in the policy server code. If that succeeds, and the policy server returns a valid policy file then a connection will be attempted on the specified connection port... that port will need to be forwarded as well - is it being forwarded?
Mark Salsbery Microsoft MVP - Visual C++ :java:
-
actually I re-tested as I've been trhough many interations. The policy sever DOES hit the break point. The client Silverlight app still denies the connection to the server socket. [edit for typo]
fred_ wrote:
The client Silverlight app still denies the connection to the server socket.
Any exception? The only thing I can think of is the Silverlight app doesn't like the returned policy file - either it's malformed or it doesn't permit connections on the port the Silverlight app is trying to connect to.
Mark Salsbery Microsoft MVP - Visual C++ :java: