[SOLVED] Deploy server dyn dsn + xampp + union

All Union Platform questions, comments, feature requests, and bug reports.

Deploy server dyn dsn + xampp + union  

Postby catnap » Sun 27 Jan 2013 17:09

Hello,

I need some help deploying a experimental server on my own computer.
Everything works fine (client and server) when connecting via localhost (127.0.0.1) but when I try to connect from WAN I cant establish a connection.

I installed xampp create my apache server (127.0.0.1:80) then I configured a dynamic dns service (noip.com) because I have a dynamic IP. Then I tryed to configure the union.xml with the correct values but with no luck...

SETUP
Apache: 127.0.0.1 port 80
Union Server: 127.0.0.1/unionserver
Union Server Admin: 127.0.0.1/unionserver/UnionAdmin.swf
Client: 127.0.0.1/client/client.swf
No-ip service: http://catlab.no-ip.org

XML union.xml
Code: Select all
<server>
        <admin>
            <port>9110</port>
           <password>password</password>
        </admin>
        <client_timeout>30</client_timeout>
    </server>


Code: Select all
<gateway id="WebGateway" type="TCP">
   <ip>catlab.no-ip.org</ip>
   <port>9100</port>
   <policy_file>policy.xml</policy_file>
</gateway>


Code: Select all
<cross-domain-policy>
   <allow-access-from domain="*" to-ports="80,443,9100,9110" />
</cross-domain-policy>


CLIENT AS3
Code: Select all
reactor.connect("catlab.no-ip.org", 9100);


What I'm doing wrong?

Thank you!
catnap
 
Posts: 2
Joined: Sun 27 Jan 2013 16:03

Re: Deploy server dyn dsn + xampp + union

Postby catnap » Wed 06 Feb 2013 08:59

Can someone give me some help on this?

Thank you...
catnap
 
Posts: 2
Joined: Sun 27 Jan 2013 16:03

Re: Deploy server dyn dsn + xampp + union

Postby derek » Thu 14 Feb 2013 22:40

Hello catnap,

You cannot have Union bind to "catlab.no-ip.org" since the IP you are using is dynamic. You are going to have to do something similar to:

1) Start Union using a static private address listening to port 9100.
2) Configure your router to forward requests to port 9100 to the address defined in step 1.

Cheers,

Derek
derek
 
Posts: 68
Joined: Mon 17 Oct 2011 19:12


Return to Union Platform

Online

Users browsing this forum: No registered users and 10 guests