all groups > macromedia flash flashcom > october 2007 >
You're in the

macromedia flash flashcom

group:

Connecting to fms2 through a router


Connecting to fms2 through a router kilowa
9/30/2007 10:34:10 PM
macromedia flash flashcom: hi ,
i want to connect to fms2 existing on a pc connected to a router ,

a local connection work fine but , when i put my ip it stops working ,

when i connect the pc directly to the internet without the router ,
the connection works good with my ip
but its bothering me because itsnt working when i connect the pc to the router
,
i made a virtual server on the router :
private ip : 192.168.0.100
ports : 19350
TCP and UDP

but nothing changed , still not working ,
i changed the ports in the adaptor.xml to 1350 and 80
and nothing changed too

something to add , when i unplug the router my ip change and is different than
the one when i plug the router , eventhough i tried with both ips and still
not worked

so is there any solution ?

Re: Connecting to fms2 through a router jonpor
10/2/2007 12:00:00 AM
Try going back to the basics... do you have a webserver? see if you can open a
local web page through the router.. that'll tell you if the router is setup
correctly.

FMS2 should be able to tunnel through port 80 as well.

Is your ip changing behind the router or the ip of the router itself is
changing? Sounds like DHCP. Might want to configure the router to give your
computer a static IP address on the LAN. If the router's WAN ip is changing,
then that is because of the ISP and there is nothing you can do there.

I'm not clear if you are trying to access your computer 'via the router on the
internet' or via another computer on the LAN?


Re: Connecting to fms2 through a router kilowa
10/2/2007 12:00:00 AM
first thanx for your reply ,
then , i dont have a webserver , and my internet connection is perfect through
the router ,. i have a laptop and a desktop connected to the router .
FMS2 is installed on the desktop which has a local static ip on the LAN .

i made an application , i want to put it online , ...
and this application should connect to FMS2 .

the connection works well if i connect my desktop ( FMS2) directly to the
internet
without using the router .

and as i said , when i connect directy to the internet i have an ip and when i
connect through the router i have another ip ...so obviously i dont have a
static ip,
and dono if really i should have a static ip to make the connection work
through the router .

i have tried to connect through many ports including , 80 ,1935 , 19350 ,...

and i made a virtual server for my application on the router , but nothing
change, ... by the way i have another game online (not flash) and it works
through the router perfectly ...

so what is the problem do u think ?

and thanx in advance
Re: Connecting to fms2 through a router jonpor
10/2/2007 12:00:00 AM
What is the model/brand of your router? I'll see if I can find some docs on it.

Sounds more like a port forwarding problem with the router.

I'm sure you know how it works... the outside computer on the intert will go
to the address of your router on the WAN.. say 100.100.100.3, and try to
connect on, for example, port 80. The router receives the incoming request and
uses NAT with your port forwarding rules to re-transmit the incoming request to
192.168.0.10 (whatever it is) at port 80.. inside the WAN.

Although it sounds like the ISP changes the IP of the router on the WAN, it
should only do so from time to time, so as long as you know the current IP...
thats not the challenge.

Re: Connecting to fms2 through a router kilowa
10/2/2007 3:36:11 PM
Re: Connecting to fms2 through a router jonpor
10/2/2007 8:35:11 PM
Well part of the problem could be "DLINK" :smile; Good for the price, but I've
found them to be rather fussy/buggy to configure sometimes.

I don't have internet at the moment, I'm using an internet cafe to send a few
emails, but I should have internet back in a few hours and i'll look into it
for you later tonight. I've tried to do something similar with DLink routers
before and it can be a pain. Give me a few hours.

Now if someone would help me with my problem :sad; . I have to say my
experience trying to use macromedia/adobe products has been less than stellar
in the department of finding solutions and help. Flex is good and FMS2 is
promising, but the if I can't find help to resolve problems, what good is it?
If I don't get my problem figured out soon, I'm going to ditch their products
and go look at Microsoft's equivalent of FMS2. Silverfish is going to EAT
FMS2, if there are better resources to help developers.
Re: Connecting to fms2 through a router kilowa
10/2/2007 8:39:29 PM
thanx very much jonpor , i know there are no much support and documention for fms2 ..

thanx again
Re: Connecting to fms2 through a router jonpor
10/3/2007 2:57:06 AM
Well found this on the dlink site... its how to setup a virtual server for
various games and such. Not 'exactly' what you need but the steps would be the
same. Wouldn't hurt to give it a read and make sure you didn't miss something.

http://support.dlink.com/faq/view.asp?prod_id=1550

If I remember correctly though, I never did have success configuring a
'virtual server' with the DLink I had and had to resolve the problem by opening
up the desired ports and forwarding them (real long URL below):


http://support.dlink.com/faq/view.asp?prod_id=1200&question=DI-624_revE%20/%20DI
-624_revD%20/%20DI-724GU%20/%20DI-724U%20/%20DI-604%20/%20DI-614+%20/%20DI-524_r
evD%20/%20DI-524_revE%20/%20DI-624%20/%20DI-754%20/%20DI-764%20/%20DI-774%20/%20
DI-604_revE%20/%20%20DI-614+_revB%20/%20DI-624_revC%20/%20DI-624S%20/%20DI-614+_
revB%20/%20DI-784

Also, I found that 'sometimes' the DLink wouldn't accept the configuration
change. (I tried two different routers and both had the same problem). I'd
have to do a hardware reset (hold the pin in the back in for 5 seconds), then
I had one chance to configure it. If I changed the configuration a second
time, it would look like it accepted it, but it didn't. I finally switched to
Linksys and that fixed the problem immediately. If you can't get the Dlink
working, I'd suggest trying to 'borrow' a router from a friend for a day and
see if that fixes your problem.

I don't know which revision number you have but I doubt it makes a different.
Just in case, pick your revision from the ones listed below..

http://support.dlink.com/products/revision.asp


The stuff above is for revision C.
http://support.dlink.com/products/view.asp?productid=DI%2D524%5FrevC

Oh, one other thing. I don't know what your running for an operating system,
but if it is Windows XP or Vista MAKE SURE YOU OPEN THE PORTS ON THE WINDOWS
SOFTWARE FIREWALL. I don't know how many times I've made that mistake. Best
bet is to turn it off until you get it it working, then configure the firewall
ports. And if you have other security software, make sure its not blocking your
computer. But I guess.. if it was working locally, this wouldn't be the
problem.

And if all else fails you could put the computer in the demilitarized zone on
the router (DMZ), but you'll probably need an extra IP from your ISP, and
REALLY GOOD SECURITY on the computer.

Hope it helps. Let me know if you get it working!

I think I might have figured out my FMS2 problem... only took a month but I
think I got it! It is sad there isn't a stronger development community for
FMS2 and adobe/macromedia products in general. Microsoft doesn't make a better
product, but they have a better developer community because of shear numbers,
so there are plenty of places to find help, tutorials, articles, discussion,
etc.. Adobe doesn't have the numbers. It would be worth their while to pay a
developer to just sit and answer questions on the forum. If they are going to
maintain their market share, the need to make it easy for developers. I get
paid to 'produce software'...and for that, I'll use whatever company offers the
most productive software development environment.. If developers don't write
with their products, they'll lose market share. (anyone listening adobe?).
Finished my rant. Sorry ;)
Re: Connecting to fms2 through a router kilowa
10/30/2007 12:00:00 AM
well thanx for all this , but nothing worked i am still searching , and looking
to try another router , it has nothing to do with my firewall because as i said
without the router everything works , so the problem can may be the firewall of
the router ,
do u know how to turn it down
i just want to try
Re: Connecting to fms2 through a router calmchess333
11/2/2007 2:57:14 PM
Re: Connecting to fms2 through a router kilowa
11/2/2007 5:14:07 PM
Re: Connecting to fms2 through a router kilowa
11/2/2007 5:18:46 PM
i already checked your thread .
well i had no problem connecting directly to my applications .
my problem is my router . it is blocking something that i cant identify till
now.
even DLINK didnt support this type of server .
looking to change my router and see what will happen
AddThis Social Bookmark Button