Quote:
Originally posted by Scoobsky
if I telnet into it, it says:
[root@localhost root]# telnet 127.0.0.1:8000
127.0.0.1:8000/telnet: Name or service not known
But I know the port it running cos people fromn the outside world can connect to that port on my Shoutcast server and listen to the tunes streaming from it.
|
You have to give two arguments to telnet, i.e.,
Code:
telnet 127.0.0.1 8000
By the way, it's not necessary to do this as root, so I wouldn't -- no difference here, just a general rule of caution.
Maybe your server is only listening on the external interface, where your listeners connect, and not on the loopback (localhost, aka 127.0.0.1). To check that out, see what's listening on port 8000:
Code:
/usr/sbin/lsof -i :8000
(This has to be done as root.) You should get a line saying, in the NAME column,
*:8000 (LISTEN)
or
interface:8000 (LISTEN)
If you get an asterisk, it's listening on all available interfaces. In the latter case, which I suspect, only on the specified interface.
Anyway, why not refer to your station as your listeners do, i.e., by its hostname instead of "localhost"?