all groups > macromedia flash flash remoting > february 2007 >
You're in the

macromedia flash flash remoting

group:

Only can connect in localhost



Only can connect in localhost JonathanXm
2/25/2007 8:42:27 PM
macromedia flash flash remoting: Hi!
I have developed an Asp.Net + Flash 8 with Flash Remoting application. When I
open the syte with this url: http://localhost/MySyte/Default.aspx the works ok.
But if I open the syte with this: http://192.168.1.101/MySyte/Default.aspx the
connection between Flash and asp.net doesn't work.
I use this code to create the connection:
NetServices.setDefaultGatewayUrl("/MySite/Default.aspx");
_global.GatewayConnection = NetServices.createGatewayConnection();
DefaultNameSpace = "RominaSavastano.General";
MainService = _global.GatewayConnection.getService(DefaultNameSpace, this);
MainService.GetResources();//Call the function in Asp.Net. With "localhost" I
receive answer, with "198.162.1.101" no.

Thanks

Re: Only can connect in localhost Graham_UK
5/1/2007 12:00:00 AM
Re: Only can connect in localhost itLinkz
5/4/2007 2:28:06 PM
Graham_UK I may be having the same problem.

Here's my situation.

On my dev machine I can only get remoting to connect to the gateway.aspx page
using the URL http://localhost/flashremoting/gateway.aspx. it connects and
subsequent function calls work properly.

However if I change localhost to the computer name it will not work.

I'm using the trial version of flash remoting for .net and since I just
downloaded it I don't think it's a licensing problem. I'm starting to think
that despite the documentation the problem is centered around the developer
version.





AddThis Social Bookmark Button