all groups > macromedia flash flash remoting > april 2005 >
You're in the

macromedia flash flash remoting

group:

Remoting works Locally but not over the Internet - Why????


Remoting works Locally but not over the Internet - Why???? Robert Shields
4/7/2005 11:41:51 AM
macromedia flash flash remoting:

Can someone please tell me why my remoting works when I run it on my
local web server but not when I run it on my Internet-based server. The
machine upon which the application is running is located on my premises.
The only difference is that I call the application from my Intranet
Re: Remoting works Locally but not over the Internet - Why???? jpryz
4/7/2005 9:47:54 PM
Two things come to mind:
1. You're using 'localhost' in your connection string.
2. You're running a developer server which doesn't allow you connect from other machines other than your own.
Re: Remoting works Locally but not over the Internet - Why???? tutsamewasa
4/8/2005 11:24:20 AM
Hi,

jpryz is right this problem occurs when we run the remoting with developer
edition ( Single IP).
There are two solutions to this where you can manage with the developer
edition.
1. Recompile the Fla with the gatway path set to the IP or ne URL that you
access through the Internet. (Not a good solutions though)
2. Read the IP or URL from external file at run time in this case you just nee
to change the URL in the text file and your remoting will work for any URL or
IP.

Hope this hepls ( Tell us if you need code for the second option.)

Good Luck

Hemendra Singh Shaktawat

Mindfire Solutions
www.mindfiresolutions.com
Re: Remoting works Locally but not over the Internet - Why???? napx
4/15/2005 1:20:59 AM
I'm having the exact same issue. However, the url is set to a world-accessable
DNS name and it still doesn't seem to work. Since my AMFPHP instance is running
on the same server that I was trying to upload the flash to, I've also tried
setting the URL to localhost, and that fails as well. Funny thing is, it still
works locally from here (connecting to the foreign server). Although when it
lives on the same foreign server that the database/AMFPHP is located on,
*nothing works*. Please help someone this is a major big-big problems :-/.
Re: Remoting works Locally but not over the Internet - Why???? Porsche_2004
4/19/2005 12:00:00 AM
Re: Remoting works Locally but not over the Internet - Why???? napx
4/19/2005 10:06:03 PM
Re: Remoting works Locally but not over the Internet - Why???? chris.davis
4/20/2005 5:22:32 PM
By default, flash is limited to retreiving data from the web site its hosted
from. If you try accessing information from another web site, flash is
supposed to look for a crossdomain.xml file on the root of the remote web site
to see if it has permission. I use crossdomain.xml files on several of my
intranet sites I administer. I have a flash application which calls an ASP
page that returns XML with drive information and space available for our
administrators. Because I have two flavors (web version and an executable) I
need to allow a broad number of users. Since this is limited to our intranet,
I allow flash applications hosted anywhere to access data. For each server
that has the hosted ASP page that returns XML, I have the following
crossdomain.xml text file copied to my wwwroot folder: <?xml version='1.0'?>
<!DOCTYPE cross-domain-policy SYSTEM
'http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd'>
<cross-domain-policy> <allow-access-from domain='*' /> </cross-domain-policy>
To read more about crossdomain.xml and see how you can restrict sites using it
go here: http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_14213
Hope this helps!
Re: Remoting works Locally but not over the Internet - Why???? ottokan
5/8/2005 12:00:00 AM
i have the same problem. i'm using .NET 1.1 and IIS 5.0 to my local server
and to my web server but when the flash movie trying to call a method
inside a service (asp.net dll file) it cannot find it.

if you find any solution please inform me at ottokan@hotmail.com,

thanks
RE: Remoting works Locally but not over the Internet - Why???? otto
5/8/2005 12:00:00 AM
i have exactly the same problem between local and web server.

I'm trying everything but the problem exists.

i'm using framework 1.1, IIS 5.0, VS 2003, Latest version of macromedia products.

when you using the developer edition if you try to access the flashgateway.dll from another computer you get an error string inside the log text file which inform you about that.
i replace the connection string inside action script from localhost to web server URL.
i'm giving full access thru web.config file.
and finally i'm running the net connection debbuger.
Everything works fine just like local server until the moment which the flash movie try to open the asp.net dll file inside bin directory.

i'm afraid that maybe is a security issue from windows 2000 because the operating system is the only difference between the 2 servers. (xp PRO SP2 - 2000 SP4)


From http://www.developmentnow.com/g/72_2005_5_0_0_495913/Remoting-works-Locally-but-not-over-the-Internet---Why.htm

Posted via DevelopmentNow.com Groups
Re: Remoting works Locally but not over the Internet - Why???? tapsmedia
5/19/2005 6:10:06 PM
I have no problems running the remoting since I use my full domain (see below).


http:://www.armartitleservice.com/demo.html

I am using AS2 w/ remoting and get mixed results on many PCs. On some all
works well and on others, content does not load. The site just hangs or shows
no content. I ahve checked the site on DSL, T1, dialup, Mac, PC uninstalled
flash players, installed latest, upgraded you name it .

Is this a bug or a script problem

PLease reply with what you see online
IF possible send a screenshot to tomasp@ellip-c.com
Re: Remoting works Locally but not over the Internet - Why???? Icemanusc
5/26/2005 12:00:00 AM
Another problem could be that your server is multihomed which can cause a
problem with flash remoting. Check out this article... this was my problem.


http://www.macromedia.com/support/flashremoting//ts/documents/iis_gateway_connec
tion.htm#enable

Richard
Re: Remoting works Locally but not over the Internet - Why???? tutsamewasa
6/8/2005 7:56:27 AM
Hello Robert Shields,

I have just mailed you the solutions as a sample application, to your mail ID
that you had provided to our executive.


Good Luck

Hemendra Singh Shaktawat

Mindfire Solutions
www.mindfiresolutions.com
Re: Remoting works Locally but not over the Internet - Why???? tutsamewasa
6/8/2005 8:08:35 AM
Hi Porsche_2004 ,

Well Its not a bug from MM.
One has to get licence for the Flash Remoting and for our ease the Developer
licence is given at free of cost and that works with one IP one.
The same information is given when we install the developer version of Flash
Remoting.

Good Luck

Hemendra Singh Shaktawat

Mindfire Solutions
www.mindfiresolutions.com



Re: Remoting works Locally but not over the Internet - Why???? ashlyAtWork
6/15/2005 12:00:00 AM
I have looked at this page over and over since I am having the same problem
where I can run my flash remoting .swf just fine through macromedia's preview
and as a standalone on my computer, but as soon as I pull it up on a browser
using the URL, it doesn't pull the data at all. I am not using localhost in
the connection screen. What can I do to figure out the problem?

Thanks in advance,
Ashly
Re: Remoting works Locally but not over the Internet - Why???? ashlyAtWork
6/15/2005 12:00:00 AM
oops... nevermind, it ended up being a small typo.

Thanks,
AddThis Social Bookmark Button