-
RTMP connection problem
I tried rmpt://localhost/webapp
It works locally, But not online.
oops! I made a mistake, i have to put 27.0.0.1 instead of localhost!!
It works locally, but not online.
What do I need to do for it to work? I don't care if its accurate... suggestions are great too!
Please help, thanks
Julian
-
First of all, it's rtmp://
and localhost == 127.0.0.1 NOT 27.0.0.1
If you're running it online, you're going to need the hostname or IP address of the server running the rtmp server.
So something along the lines of: rtmp://stream.myserver.com/webapp
-
well lucky i didn't copy that stuff from the script....
i knew all that stuff BUT er....
rtmp://stream.myserver.com/webapp
I know all this. where do i find the host address was my question.
-
Ask the hosting provider.
-
what if red5 is installed on my computer? can't it connect to my IP or something?
-
Yes it can. In that case, you need to use your external IP address, not localhost or 127.0.0.1.
-
Okay, thanks for the help taco, you rule!
Is there a certain place i can find this external IP address?
EDIT: i found a great place to find out ICP: http://www.alexnolan.net/ip/
-
sorry about the double post but this seems important enough to do it.
basically i tried replacing localhost with my EXTERNAL IP but it doesn't work...?
Maybe red5 isn't completely installed on my computer...?
I have red5 installed
I have jdk and jre
I have eclipse
But whats ant server?
-
Are you behind a router at your house? If so, you'll need to set up port forwarding in your router to point port 1935 to your internal IP address on the network. Probably something like: 192.168.1.103
-
uhhh sorry but i don't have much of an idea what you mean :S I am behind a router though.
wait a second though, don't I need ant server set up to get it all to work?
-
http://lmgtfy.com/?q=port+forwarding
If Red5 is running, you already have Ant.
-
haha nice self-googler.
thanks for the help, i'll say how it goes later.
-
hello
2 things.
1: I found a new external IP from portfoward.com and got confused :S doesn't work either than the other one
2. I went to the portfoward.com and looked up the numbers all of them were there except the one i had because its a NEW network internet thing.
-
Dude, no offense, but I don't think you're ready to do these kinds of things just yet. You don't even understand how IP addresses work yet, or even what ports and port forwarding is.
These are all pretty in depth concepts that you'll learn over time. You're young. Take the time and learn for yourself. It'll eventually all come together. I'm not trying to be mean, I was exactly in your shoes at your age, seriously. You'll eventually figure it out.
It's like you are trying to ask and learn how to build a spaceship when you don't even know how to use a wrench.
You know what I mean? Take it slow, learn step by step.
-
yes ok i get what you mean.
i would like to find this out though because it would mean i would be able to make multiplayer online games...
Ok i'll focus on some other things before i go on trying to find out this stuff...
I know some people that might be able to help me sometime anyway.