Announcement Announcement Module
Collapse
No announcement yet.
How do I find out the 'local' port used by the HttpInvoker. Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • How do I find out the 'local' port used by the HttpInvoker.

    Hi,

    I'm looking to open a port in my company firewall in order to make remote calls using the HttpInvoker. In order to do this I need to know, not only the destination port (which is the easy bit) but the originating port.

    Does anyone know how Id go about finding this out?
    Is there a default used when the URL is instantiated in the SimpleHttpInvokerRequestExecutor?

    If it helps, the two applications are running in Tomcat both fronted by Apache instances.

    Cheers,
    Chris

  • #2
    That doesn't sound right - for most firewalls, you simply need to destination port. The nature of TCP is such that there isn't a fixed source port, ergo there is no configurable option for this.

    Lets say you have a server, running on port 9000, that exposes some functionality for a client to call.

    The client opens an HTTP connection to port 9000 on the server; the firewall would need to be configured to allow TCP traffic on port 9000 from the client to the server (or a larger address range depending on your needs).

    Comment

    Working...
    X