Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I am wanting to use exit 66 jukebox to stream audio on my network , when i run the app, it says port 80 is not being used, try another, it works fine on port 4773, but the other boxes on the network cannot access it, thereby i am inclined to get it working on port 80 after all i have no running port 80 being used according to nmap.
nmap -sT -O localhost
Starting Nmap 4.03 ( http://www.insecure.org/nmap/ ) at 2006-06-11 21:32 BST
Interesting ports on allix.allix (127.0.0.1):
(The 1670 ports scanned but not shown below are in state: closed)
PORT STATE SERVICE
37/tcp open time
113/tcp open auth
631/tcp open ipp
6000/tcp open X11
No exact OS matches for host (If you know what OS is running on it, see http://w ww.insecure.org/cgi-bin/nmap-submit.cgi).
Nmap finished: 1 IP address (1 host up) scanned in 9.638 seconds
Look at the nmap output, it says ports other than the ones listed are closed. This is correct, because i assume you have nothing listening on that port. If the firewall were blocking the port, nmap would say it's "filtered". But then again, running nmap against localhost wouldn't return accurate results, because the firewall often isn't configured to block connections from localhost. That's probably why all the ports are shown as closed and not filtered.
Now for that streaming app, are you running it as root? Have you tried doing so? Because i think only root is allowed to listen on ports below 1024. A quick (but lousy) fix would be to use iptables to redirect all connections to the machine on port 80 to port 4773. Then you'd be able to run the app as a non-privileged user.
You say it works fine on port 4773, but other machines can't access it, why is this so? I'd guess because you didn't open port 4773 in the firewall? Perhaps that would be a better solution, open that port and configure your clients to use that port.
That should be all, you shouldn't need to configure the clients, they'd be able to open connections to any port (unless there are restrictions in place). So in your clients you'd just have to type in http://server_add:4773 in the web browser to access the app.
unfortunately i did not read the app specifications properly, the music is still played on the server, the clients pick a song from a list and the server plays it, very much like a jukebox.
Its a java app so i could not run it from root if i wanted port 80...