You are not logged in.

#1 2007-03-21 23:10:29

Flasher
Member
From: Bavaria / Germany
Registered: 2005-04-24
Posts: 126

Which application use a specific port?

Hello!

I have a problem with a unknown application.

For azureus I want to use the port 6000. But the port is already in use! I don't know which application uses this port! Is there any tool, which show me, wich application use which port?

Thanks for help!

Greetings,

Flasher

Offline

#2 2007-03-21 23:22:00

boily
Member
From: Montréal
Registered: 2007-03-17
Posts: 75
Website

Re: Which application use a specific port?

As root, try:

netstat -ntlp

It may help...

Last edited by boily (2007-03-21 23:22:31)


A centipede is an inchworm that has switched to the metric system.

Offline

#3 2007-03-25 10:19:14

us3r
Member
From: Jaworzno, Poland
Registered: 2007-03-25
Posts: 9
Website

Re: Which application use a specific port?

This is X11 ports to support remote x-windows sessions. Of course You can off it.

/usr/bin/startx:

defaultserverargs="-nolisten tcp"

Of course for kdm/xdm/gdm You must edit config file ex.:
/opt/kde/share/config/kdm/kdmrc:

ServerCmd=/usr/bin/X -nolisten tcp -br

that's all folks smile

Last edited by us3r (2007-04-10 21:33:16)

Offline

#4 2007-03-25 17:24:03

pauldonnelly
Member
Registered: 2006-06-19
Posts: 776

Re: Which application use a specific port?

lsof -i as root should give you a list of programs with ports open. As non-root it will only list programs running under your name.

Offline

#5 2007-03-25 23:33:11

Pajaro
Member
Registered: 2004-04-21
Posts: 884

Re: Which application use a specific port?

where can i find lsof?

Offline

#6 2007-03-26 01:31:54

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: Which application use a specific port?

Pajaro wrote:

where can i find lsof?

pacman -S lsof

Offline

#7 2007-03-26 07:24:37

Pajaro
Member
Registered: 2004-04-21
Posts: 884

Re: Which application use a specific port?

Snowman,

i must have misspelled several times yesterday night tongue I kept trying to find it with pacman and i couldn't.

Thanks for the help

Offline

Board footer

Powered by FluxBB