Sapphiron Posted December 7, 2004 Report Share Posted December 7, 2004 (edited) I've got my own application which I need to run on port 8090. the problem is that that port seems to be in use. How can I find out what program it is, so I can change it's port O, I'm using mandrake 10.0 official Edited December 7, 2004 by Sapphiron Quote Link to comment Share on other sites More sharing options...
arthurking Posted December 7, 2004 Report Share Posted December 7, 2004 Hi sapphiron, I had a quick look and found this command netstat -pant I haven't found a GUI for this, but I'll post back if I do, if that's really what you were asking. cheers. Quote Link to comment Share on other sites More sharing options...
Sapphiron Posted December 7, 2004 Author Report Share Posted December 7, 2004 Hi sapphiron,I had a quick look and found this command netstat -pant I haven't found a GUI for this, but I'll post back if I do, if that's really what you were asking. cheers. <{POST_SNAPBACK}> Thanks, the command told me what I wanted to know, thanks a lot Quote Link to comment Share on other sites More sharing options...
n00i3 Posted December 19, 2004 Report Share Posted December 19, 2004 (edited) so i have all this stuff running >> i know that the webserver is on port 80, but what are all the rest! tcp 0 0 127.0.0.1:32768 0.0.0.0:* LISTEN - tcp 0 0 0.0.0.0:997 0.0.0.0:* LISTEN - tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN - tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN - tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN - tcp 0 0 0.0.0.0:6000 0.0.0.0:* LISTEN - tcp 0 0 0.0.0.0:631 0.0.0.0:* LISTEN - tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN - Edited December 19, 2004 by n00i3 Quote Link to comment Share on other sites More sharing options...
devries Posted December 19, 2004 Report Share Posted December 19, 2004 6000 is X11, 631 is ipp (printer), 80 is webserver, 111 something for a network and I guess the others too. Look in the Mandrake Control Center, system, services what's running. Quote Link to comment Share on other sites More sharing options...
aru Posted December 19, 2004 Report Share Posted December 19, 2004 so i have all this stuff running >> i know that the webserver is on port 80, but what are all the rest! according netstat man page: --numeric , -n Show numerical addresses instead of trying to determine symbolic host, port or user names. so instead of 'netstat -pant' run 'netstat -pat' and you'll get the names of the used ports. more on "man netstat " Quote Link to comment Share on other sites More sharing options...
Drake Posted December 26, 2004 Report Share Posted December 26, 2004 the file services in /etc tell you what runs on what port. (default anyway) anyone know where to change apache to run on port 5100 instead of port 80 is? i changed the port in services but there must be an apache file over riding it. Quote Link to comment Share on other sites More sharing options...
Drake Posted December 26, 2004 Report Share Posted December 26, 2004 sok i found it in : /etc/httpd/conf/httpd2.conf Quote Link to comment Share on other sites More sharing options...
Michel Posted December 26, 2004 Report Share Posted December 26, 2004 See, it is solved, but nobody mentionned the following usefull commmand: netstat -lp (run it as the user who is running the server ... or root) -l is for the listening ports -p gives you the names of the programs running on it Quote Link to comment Share on other sites More sharing options...
n00i3 Posted March 24, 2005 Report Share Posted March 24, 2005 sorry about the late reply... yeap i got the command all figured out... :) thanks! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.