Re: Open Ports
On 17.10.2002 11:59 Uhr, "Cristi Banciu" <c.banciu@bucarest.finsiel.ro>
wrote:
> On Thu, 2002-10-17 at 11:53, Zeno Davatz wrote:
>> On 17.10.2002 10:56 Uhr, "Cristi Banciu" <c.banciu@bucarest.finsiel.ro>
>> wrote:
>>
>>> try lsof -i | grep 56851
>>> it could help u see what application is listening on that port
>> Thanks for your help. I get:
>>
>> ywesee@debian:/etc/tinydns/root> sudo lsof -i | grep 56851
>> Password:
>> httpd 2495 root 3u IPv4 630910 TCP
>> debian:56851->dclient217-162-108-106.hispeed.ch:15782 (CLOSE_WAIT)
>> httpd 2495 root 4u IPv4 630750 TCP *:56851 (LISTEN)
> I think this line is what U are interested in:
> It is something like that:
> COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
> httpd 2495 root 4u IPv4 630750 TCP *:56851 (LISTEN)
> so it seems U have a httpd listening on that port
Yes - I think you are right. So that is nothing bad? Obviously Ruby needs to
open that port if it wants to communicate with Apache.
Thanks for your help.
Zeno
Reply to: