Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. WPF
  4. 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?

Scheduled Pinned Locked Moved WPF
sysadminquestion
9 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F Offline
    F Offline
    fred_
    wrote on last edited by
    #1

    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

    M 1 Reply Last reply
    0
    • F fred_

      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

      M Offline
      M Offline
      Mark Salsbery
      wrote on last edited by
      #2

      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:

      F 1 Reply Last reply
      0
      • M Mark Salsbery

        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:

        F Offline
        F Offline
        fred_
        wrote on last edited by
        #3

        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

        M 1 Reply Last reply
        0
        • F fred_

          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

          M Offline
          M Offline
          Mark Salsbery
          wrote on last edited by
          #4

          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:

          F 1 Reply Last reply
          0
          • M Mark Salsbery

            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:

            F Offline
            F Offline
            fred_
            wrote on last edited by
            #5

            firewall off for test nope seems to hit

            M 1 Reply Last reply
            0
            • F fred_

              firewall off for test nope seems to hit

              M Offline
              M Offline
              Mark Salsbery
              wrote on last edited by
              #6

              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:

              F 2 Replies Last reply
              0
              • M Mark Salsbery

                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:

                F Offline
                F Offline
                fred_
                wrote on last edited by
                #7

                thats my issue. the Silverlight ports hit, just not 943. Same setting in router forwarding ( obviously besides the port number) and no hit

                1 Reply Last reply
                0
                • M Mark Salsbery

                  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:

                  F Offline
                  F Offline
                  fred_
                  wrote on last edited by
                  #8

                  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]

                  M 1 Reply Last reply
                  0
                  • F fred_

                    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]

                    M Offline
                    M Offline
                    Mark Salsbery
                    wrote on last edited by
                    #9

                    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:

                    1 Reply Last reply
                    0
                    Reply
                    • Reply as topic
                    Log in to reply
                    • Oldest to Newest
                    • Newest to Oldest
                    • Most Votes


                    • Login

                    • Don't have an account? Register

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • World
                    • Users
                    • Groups