Question
connection failure with Apache
Hi, everyone. I am a newbie at both Linux and Flash Media
Server. I have set up a development version on my linux box and am
attempting to establish a connection through a local network. I am
testing with a simple connection script:
client_nc = new NetConnection();
client_nc.connect("rtmp://192.168.15.200/candace/room_1");
client_nc.onStatus = function(info) {
error.text = "Level: " + info.level + " Code: " + info.code; // this is returning any errors
}
Now, on the client site, the error box returns "Error: NetConnection.Connect.Failed"
On the FMS console on the server there is no sign of a connected client
In the Apache error log on the server, I get the error "Invalid method in request"
I have the firewall turned off.
When I run the script locally on the server with URI "rtmp:/localhost/candace/room_1" I do not get the error.
My guess is that Apache doesn't like the rtmp protocol for some reason and won't allow my client to talk to the FMS server. Thoughts?
Thanks!!
client_nc = new NetConnection();
client_nc.connect("rtmp://192.168.15.200/candace/room_1");
client_nc.onStatus = function(info) {
error.text = "Level: " + info.level + " Code: " + info.code; // this is returning any errors
}
Now, on the client site, the error box returns "Error: NetConnection.Connect.Failed"
On the FMS console on the server there is no sign of a connected client
In the Apache error log on the server, I get the error "Invalid method in request"
I have the firewall turned off.
When I run the script locally on the server with URI "rtmp:/localhost/candace/room_1" I do not get the error.
My guess is that Apache doesn't like the rtmp protocol for some reason and won't allow my client to talk to the FMS server. Thoughts?
Thanks!!
