Pablo Sanchez wrote:
> [ Comments below, in line ]
>
> On Monday 24 May 2010 at 10:35 am, erstazi penned
> about "Re: [VBox-users] Port Fowarding on nat with Vbox 3.2"
>
>   
>> Is port 4820 in use on the host (from a separate process of VirtualBox)?
>>     
>
> Hi,
>
> Just to add to erstazi's advice.
>
> To confirm that port 4820 is available on the host, use `netstat -an'
> If the port is in use and you wish to know the process, use a
> combination of `fuser' and `ps'
>
> Below is a working example on my machine using port 1527.  In my case,
> I'm port-forwarding using `ssh'
>
>    #
>    # Is port 1527 in-use?
>    #
>    pa...@oreo-1002-[pablo]: netstat -an|fgrep 1527
>    tcp        0      0 127.0.0.1:1527          0.0.0.0:*               LISTEN
>    tcp        0      0 ::1:1527                :::*                    LISTEN
>    
>    #
>    # Who is using port 1527??  
>    #
>    root-r...@oreo-1001-[/root]: fuser -nu tcp 1527
>    1527/tcp:            12948(pablo)
>
>    #
>    # Some minimal information on the process:  (sshd)
>    #
>    root-r...@oreo-1002-[/root]: ps -p 12948
>      PID TTY          TIME CMD
>    12948 ?        00:00:00 sshd
>    
> Cheers,
>   
Hi Pablo. I have already checked such things, but i used lsof instead 
fuser. Tks for your help anyway.

------------------------------------------------------------------------------

_______________________________________________
VBox-users-community mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/vbox-users-community

Reply via email to