Home Forums Support How to create a remote connection between 2 remote endpoints?

Viewing 10 posts - 1 through 10 (of 13 total)
  • Author
    Posts
  • #983
    Anonymous
    Inactive

    Hi everyone,

    topic equals question 🙂

    I developed on a local mashine with a client- and a serverapplication with 127.0.0.1…

    But now i need a connection between 2 PCs over the internet. How to do that?

    #984
    Anonymous
    Inactive

    You need to configure the necessary port forwarding so that your applications can connect to each other using public IP addresses. If you search google for this topic there are loads of examples:

    http://www.wikihow.com/Set-Up-Port-Forwarding-on-a-Router
    http://www.howtogeek.com/66214/how-to-forward-ports-on-your-router/
    http://portforward.com/

    Regards,
    Marc

    #985
    Anonymous
    Inactive

    And then i can use TCPConnection.StartListening with a remote IP?

    #986
    Anonymous
    Inactive

    You still listen on the internal private IP, as detected when you use TCPConnection.StartListening. The port forwarding will forward any necessary traffic from the public IP to the configured private IP.

    #989
    Anonymous
    Inactive

    Thanks for your reply!

    But the two machines need to know of each other, don’t they?

    For example I have one machine in paris and another in new york. And for that i need both remote IPs, don’t I?

    How to connect each other?

    #990
    Anonymous
    Inactive

    I forwarded the port 44444 on my router, tried to start listening and it says:

    It was not possible to open port #44444 on *********. This endPoint may not support listening or possibly try again using a different port.

    #991
    Anonymous
    Inactive

    So, did you try using a different port?

    #992
    Anonymous
    Inactive

    I tried 55555, 56001, 50001… none of them worked

    #993
    Anonymous
    Inactive

    They should work, what method are you calling when you get that exception?

    #994
    Anonymous
    Inactive

    TCPConnection.StartListening(…) with my remote IP

Viewing 10 posts - 1 through 10 (of 13 total)
  • You must be logged in to reply to this topic.