[Red5] can't connect to my red5 server, even locally
Charles Palen
palen1c at gmail.com
Tue Dec 18 09:44:34 PST 2007
Did you change the ant build.xml file in the root of the red5 server? If
not, then when you run "ant server" it won't know about your new application
that you have added to the webapps directory and won't compile it.
What install of red5 are you using on what platform? I use the windows
installer, but when I am working on applications, I ignore the service and
use ant to build my new applications and run the server. If you haven't
seen it yet, a really good place to get just a really simple server side
application working is the following:
http://www.flashextensions.com/tutorials.php
Good luck!
On 12/18/07, finpingvin <pingvingryta at gmail.com> wrote:
>
>
> I can't connect to my red5 server even locally. I've read several guides
> now
> and followed them, but I can't get actionscript to connect to my red5
> server.
> This is what my project looks like
>
> my file structure is this:
> webapps/
> whiteboard/ (the application name)
> WEB-INF/
> lib/
> classes/
> se/
> danielbjorkander/
> whiteboard/
>
> src/
> se/
> danielbjorkander/
> whiteboard/
> Application.java
> web.xml
> red5-web.properties
> red5-web.xml
> log4j.properties
>
> created an Application class extending ApplicationAdapter in the src.
> changed the configuration files, they are here:
> http://pastebin.parentnode.org/29168 web.xml
> http://pastebin.parentnode.org/29169 red5-web.xml
> red5-web.properties = webapp.contextPath=/whiteboard
> webapp.virtualHosts=localhost,
> 127.0.0.1
>
> so now, when i call this code in actionscript 3.0:
> _nc.connect("rtmp://localhost/whiteboard");
> _nc.call("add", new Responder(onResult), 1, 2);
> i get the following error:
>
> Error #2044: Unhandled NetStatusEvent:. level=error,
> code=NetConnection.Connect.InvalidApp
> at
>
> whiteboard$iinit()[/home/finpingvin/workspace/whiteboard/src/whiteboard.mxml:8]
> at _whiteboard_mx_managers_SystemManager/create()
> at
>
> mx.managers::SystemManager/mx.managers:SystemManager::initializeTopLevelWindow
> ()[E:\dev\flex_3_beta2\sdk\frameworks\projects\framework\src\mx\managers\SystemManager.as:2428]
> at
> mx.managers::SystemManager/mx.managers:SystemManager::docFrameHandler
> ()[E:\dev\flex_3_beta2\sdk\frameworks\projects\framework\src\mx\managers\SystemManager.as:2320]
>
> So what have i missed? Never mailed a mailinglist before, but im starting
> to
> panic, because i need to get started with programming red5 for a
> school-project im doing. Any help is greatly appriciated.
>
> //Daniel
> --
> View this message in context:
> http://www.nabble.com/can%27t-connect-to-my-red5-server%2C-even-locally-tp14399845p14399845.html
> Sent from the Red5 - English mailing list archive at Nabble.com.
>
>
> _______________________________________________
> Red5 mailing list
> Red5 at osflash.org
> http://osflash.org/mailman/listinfo/red5_osflash.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/red5_osflash.org/attachments/20071218/331926a5/attachment.html
More information about the Red5
mailing list