Connection Failed when rtmp port is changed

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Connection Failed when rtmp port is changed

ak_001

I have created a chat application on Red5 using SharedObject. I was using rtmp.port as 1935. it was working properly then I changed that port number to 1937 in red5.properties and tried to connect it. On connection it is giving me following error at client end.

{"level":"error","code":"NetConnection.Connect.Failed"}

Why I am getting this error? 

Have I forget to update something, when I changed rtmp port?

I would like to know how request to this rtmp port listener in red5 works.

Can anyone please help?

--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Connection Failed when rtmp port is changed

Hosting Marketers
1- did you restart red5?
2- check if the server has a firewall and if port 1937 is open
3- the rtmp on the chat settings must include the new port, ex. rtmp://IP_server:1937/chat

On Wed, May 24, 2017 at 12:20 AM, Anuja Kothekar <[hidden email]> wrote:

I have created a chat application on Red5 using SharedObject. I was using rtmp.port as 1935. it was working properly then I changed that port number to 1937 in red5.properties and tried to connect it. On connection it is giving me following error at client end.

{"level":"error","code":"NetConnection.Connect.Failed"}

Why I am getting this error? 

Have I forget to update something, when I changed rtmp port?

I would like to know how request to this rtmp port listener in red5 works.

Can anyone please help?

--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Connection Failed when rtmp port is changed

ak_001
Thanks for reply..!

1. Yes I have restarted red5
2. With netstat -a -n command in cmd I am able to see 1937 with state LISTENING. How can I see if this port is blocked by firewall? 
3. I am using it as rtmp://localhost:1937/ChatRoom while connecting via NetConnection.
 

On Wednesday, May 24, 2017 at 1:22:24 PM UTC+5:30, Hosting Marketers wrote:
1- did you restart red5?
2- check if the server has a firewall and if port 1937 is open
3- the rtmp on the chat settings must include the new port, ex. rtmp://IP_server:1937/chat

On Wed, May 24, 2017 at 12:20 AM, Anuja Kothekar <<a onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;" href="javascript:" target="_blank" rel="nofollow" gdf-obfuscated-mailto="rYctYeVIAwAJ">anuja.k...@...> wrote:

I have created a chat application on Red5 using SharedObject. I was using rtmp.port as 1935. it was working properly then I changed that port number to 1937 in red5.properties and tried to connect it. On connection it is giving me following error at client end.

{"level":"error","code":"NetConnection.Connect.Failed"}

Why I am getting this error? 

Have I forget to update something, when I changed rtmp port?

I would like to know how request to this rtmp port listener in red5 works.

Can anyone please help?

--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to <a onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;" href="javascript:" target="_blank" rel="nofollow" gdf-obfuscated-mailto="rYctYeVIAwAJ">red5interest...@googlegroups.com.
For more options, visit <a onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" href="https://groups.google.com/d/optout" target="_blank" rel="nofollow">https://groups.google.com/d/optout.

--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Connection Failed when rtmp port is changed

ak_001
I have tried same with turning of the firewall. Still getting same error.
 
On Wednesday, May 24, 2017 at 2:49:34 PM UTC+5:30, Anuja Kothekar wrote:
Thanks for reply..!

1. Yes I have restarted red5
2. With netstat -a -n command in cmd I am able to see 1937 with state LISTENING. How can I see if this port is blocked by firewall? 
3. I am using it as rtmp://localhost:1937/ChatRoom while connecting via NetConnection.
 

On Wednesday, May 24, 2017 at 1:22:24 PM UTC+5:30, Hosting Marketers wrote:
1- did you restart red5?
2- check if the server has a firewall and if port 1937 is open
3- the rtmp on the chat settings must include the new port, ex. rtmp://IP_server:1937/chat

On Wed, May 24, 2017 at 12:20 AM, Anuja Kothekar <[hidden email]> wrote:

I have created a chat application on Red5 using SharedObject. I was using rtmp.port as 1935. it was working properly then I changed that port number to 1937 in red5.properties and tried to connect it. On connection it is giving me following error at client end.

{"level":"error","code":"NetConnection.Connect.Failed"}

Why I am getting this error? 

Have I forget to update something, when I changed rtmp port?

I would like to know how request to this rtmp port listener in red5 works.

Can anyone please help?

--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to red5interest...@googlegroups.com.
For more options, visit <a onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" href="https://groups.google.com/d/optout" target="_blank" rel="nofollow">https://groups.google.com/d/optout.

--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Connection Failed when rtmp port is changed

Hosting Marketers
the red5 server and the chat software are on the same server?

On 5/24/17, Anuja Kothekar <[hidden email]> wrote:

> I have tried same with turning of the firewall. Still getting same error.
>
> On Wednesday, May 24, 2017 at 2:49:34 PM UTC+5:30, Anuja Kothekar wrote:
>
>> Thanks for reply..!
>>
>> 1. Yes I have restarted red5
>> 2. With netstat -a -n command in cmd I am able to see 1937 with state
>> LISTENING. How can I see if this port is blocked by firewall?
>> 3. I am using it as rtmp://localhost:1937/ChatRoom while connecting via
>> NetConnection.
>>
>>
>> On Wednesday, May 24, 2017 at 1:22:24 PM UTC+5:30, Hosting Marketers
>> wrote:
>>
>>> 1- did you restart red5?
>>> 2- check if the server has a firewall and if port 1937 is open
>>> 3- the rtmp on the chat settings must include the new port, ex.
>>> rtmp://IP_server:1937/chat
>>>
>>> On Wed, May 24, 2017 at 12:20 AM, Anuja Kothekar <[hidden email]>
>>> wrote:
>>>
>>>> I have created a chat application on Red5 using SharedObject. I was
>>>> using rtmp.port as 1935. it was working properly then I changed that
>>>> port
>>>> number to 1937 in red5.properties and tried to connect it. On connection
>>>> it
>>>> is giving me following error at client end.
>>>>
>>>> {"level":"error","code":"NetConnection.Connect.Failed"}
>>>>
>>>> Why I am getting this error?
>>>>
>>>> Have I forget to update something, when I changed rtmp port?
>>>>
>>>> I would like to know how request to this rtmp port listener in red5
>>>> works.
>>>>
>>>> Can anyone please help?
>>>>
>>>> --
>>>>
>>>> ---
>>>> You received this message because you are subscribed to the Google
>>>> Groups "red5" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>> an email to [hidden email].
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>
>>>
>
> --
>
> ---
> You received this message because you are subscribed to the Google Groups
> "red5" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [hidden email].
> For more options, visit https://groups.google.com/d/optout.
>

--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Connection Failed when rtmp port is changed

Rajdeep Rath

Hello Anuja 


Make sure to check that your application itself is ok and working on 1935. As you can see in the screenshots there isn't a lot that I changed to switch port from 1935 to 1937

Regards
Rajdeep Rath

Inline image 2Inline image 1

On Thu, May 25, 2017 at 11:58 AM, Hosting Marketers <[hidden email]> wrote:
the red5 server and the chat software are on the same server?

On 5/24/17, Anuja Kothekar <[hidden email]> wrote:
> I have tried same with turning of the firewall. Still getting same error.
>
> On Wednesday, May 24, 2017 at 2:49:34 PM UTC+5:30, Anuja Kothekar wrote:
>
>> Thanks for reply..!
>>
>> 1. Yes I have restarted red5
>> 2. With netstat -a -n command in cmd I am able to see 1937 with state
>> LISTENING. How can I see if this port is blocked by firewall?
>> 3. I am using it as rtmp://localhost:1937/ChatRoom while connecting via
>> NetConnection.
>>
>>
>> On Wednesday, May 24, 2017 at 1:22:24 PM UTC+5:30, Hosting Marketers
>> wrote:
>>
>>> 1- did you restart red5?
>>> 2- check if the server has a firewall and if port 1937 is open
>>> 3- the rtmp on the chat settings must include the new port, ex.
>>> rtmp://IP_server:1937/chat
>>>
>>> On Wed, May 24, 2017 at 12:20 AM, Anuja Kothekar <[hidden email]>
>>> wrote:
>>>
>>>> I have created a chat application on Red5 using SharedObject. I was
>>>> using rtmp.port as 1935. it was working properly then I changed that
>>>> port
>>>> number to 1937 in red5.properties and tried to connect it. On connection
>>>> it
>>>> is giving me following error at client end.
>>>>
>>>> {"level":"error","code":"NetConnection.Connect.Failed"}
>>>>
>>>> Why I am getting this error?
>>>>
>>>> Have I forget to update something, when I changed rtmp port?
>>>>
>>>> I would like to know how request to this rtmp port listener in red5
>>>> works.
>>>>
>>>> Can anyone please help?
>>>>
>>>> --
>>>>
>>>> ---
>>>> You received this message because you are subscribed to the Google
>>>> Groups "red5" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>> an email to [hidden email].
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>
>>>
>
> --
>
> ---
> You received this message because you are subscribed to the Google Groups
> "red5" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [hidden email].
> For more options, visit https://groups.google.com/d/optout.
>

--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Connection Failed when rtmp port is changed

ak_001
Yes Application was working on 1935. I deleted my application from webapps folder and ran it again from IDE and it has started working with 1937 as well.. Bad thing is I don't know how. Thanks both of you for help..!

On Thursday, May 25, 2017 at 12:50:44 PM UTC+5:30, Rajdeep Rath wrote:

Hello Anuja 


Make sure to check that your application itself is ok and working on 1935. As you can see in the screenshots there isn't a lot that I changed to switch port from 1935 to 1937

Regards
Rajdeep Rath

Inline image 2Inline image 1

On Thu, May 25, 2017 at 11:58 AM, Hosting Marketers <<a onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;" href="javascript:" target="_blank" rel="nofollow" gdf-obfuscated-mailto="pQCdqb-VAwAJ">hosting....@...> wrote:
the red5 server and the chat software are on the same server?

On 5/24/17, Anuja Kothekar <<a onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;" href="javascript:" target="_blank" rel="nofollow" gdf-obfuscated-mailto="pQCdqb-VAwAJ">anuja.k...@...> wrote:
> I have tried same with turning of the firewall. Still getting same error.
>
> On Wednesday, May 24, 2017 at 2:49:34 PM UTC+5:30, Anuja Kothekar wrote:
>
>> Thanks for reply..!
>>
>> 1. Yes I have restarted red5
>> 2. With netstat -a -n command in cmd I am able to see 1937 with state
>> LISTENING. How can I see if this port is blocked by firewall?
>> 3. I am using it as rtmp://localhost:1937/ChatRoom while connecting via
>> NetConnection.
>>
>>
>> On Wednesday, May 24, 2017 at 1:22:24 PM UTC+5:30, Hosting Marketers
>> wrote:
>>
>>> 1- did you restart red5?
>>> 2- check if the server has a firewall and if port 1937 is open
>>> 3- the rtmp on the chat settings must include the new port, ex.
>>> rtmp://IP_server:1937/chat
>>>
>>> On Wed, May 24, 2017 at 12:20 AM, Anuja Kothekar <[hidden email]>
>>> wrote:
>>>
>>>> I have created a chat application on Red5 using SharedObject. I was
>>>> using rtmp.port as 1935. it was working properly then I changed that
>>>> port
>>>> number to 1937 in red5.properties and tried to connect it. On connection
>>>> it
>>>> is giving me following error at client end.
>>>>
>>>> {"level":"error","code":"NetConnection.Connect.Failed"}
>>>>
>>>> Why I am getting this error?
>>>>
>>>> Have I forget to update something, when I changed rtmp port?
>>>>
>>>> I would like to know how request to this rtmp port listener in red5
>>>> works.
>>>>
>>>> Can anyone please help?
>>>>
>>>> --
>>>>
>>>> ---
>>>> You received this message because you are subscribed to the Google
>>>> Groups "red5" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>> an email to red5interest...@googlegroups.com.
>>>> For more options, visit <a onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" href="https://groups.google.com/d/optout" target="_blank" rel="nofollow">https://groups.google.com/d/optout.
>>>>
>>>
>>>
>
> --
>
> ---
> You received this message because you are subscribed to the Google Groups
> "red5" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to <a onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;" href="javascript:" target="_blank" rel="nofollow" gdf-obfuscated-mailto="pQCdqb-VAwAJ">red5interest...@googlegroups.com.
> For more options, visit <a onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" href="https://groups.google.com/d/optout" target="_blank" rel="nofollow">https://groups.google.com/d/optout.
>

--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to <a onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;" href="javascript:" target="_blank" rel="nofollow" gdf-obfuscated-mailto="pQCdqb-VAwAJ">red5interest...@googlegroups.com.
For more options, visit <a onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" href="https://groups.google.com/d/optout" target="_blank" rel="nofollow">https://groups.google.com/d/optout.

--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.