It matters if you use lsof. It does not matter if you use netstat.

 "" wrote:
That he did, but did he do it using sudo, note the difference (again on linux) :-

david@server:~$ lsof -w -n -i tcp:22
david@server:~$ sudo lsof -w -n -i tcp:22
COMMAND  PID USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
sshd    1341 root    3u  IPv4  13259      0t0  TCP *:ssh (LISTEN)
sshd    1341 root    4u  IPv6  13261      0t0  TCP *:ssh (LISTEN)



On 27 July 2015 at 18:52, Steve Sobol - Lobos Studios <[email protected] <mailto:[email protected]>> wrote:

    According to the Stack Overflow post, he already tried netstat and
    lsof.

     "" wrote:
    Mac... OK,

    Well you should be able to do something like this :-

        netstat -tanp | grep 1099 | grep LISTEN

    and you should get the process id of the process that is
    listening on port 1099


    On 27 July 2015 at 18:23, Steve Sobol - Lobos Studios
    <[email protected] <mailto:[email protected]>> wrote:

        Hit me up off-list. I use Jetty 9.2 (soon to be 9.3) for all
        of my production Java web apps, and I code and debug using
        IntelliJ Ultimate Edition and Jetty 9.2 on my Win8.1 laptop.

        We'll figure it out, and then come back and summarize here.
        (and you should probably post the solution on SO too).

        And I see that you are using a Mac. Well, my laptop runs
        Windows, but my desktop computer is a Mac mini running
        Yosemite. I have plenty of experience with OS X, both the GUI
        and the command line (and I've admin'd Linux servers for 20
        years too; shell prompts don't scare me). I am 100% certain I
        can help you.

        Best,
          Steve


        Abhishek Gupta wrote:

        No, I am using Mac. But in case any damn software using it,
        I shoud get something out of |lsof|.

        On Mon, Jul 27, 2015 at 9:26 AM Abhishek Gupta
        [email protected]
        <http://mailto:[email protected]> wrote:

            Hi guys,

            I am getting a issue in running jetty in intellij.
            Intellij is complaining that someone is already using
            the port 1099.

            The complete information about the issue is here
            
http://stackoverflow.com/questions/31494815/which-process-is-using-1099jmx-port.

            I have been trying to solve this for over a week but no
            success. Even intellij guys are unable to solve this
            (though they haven't tried enough).

            Can someone help?

        ​
        _______________________________________________
        jetty-users mailing list
        [email protected]  <mailto:[email protected]>
        To change your delivery options, retrieve your password, or unsubscribe 
from this list, visit
        https://dev.eclipse.org/mailman/listinfo/jetty-users

-- Lobos Studios - Website and Mobile App Design & Development;
        IT Support; Computer Maintenance
        Toll Free  877.919.4WEB - Apple Valley 760.684.8859 - Los
        Angeles 310.945.2410 - Cleveland 216.242.4010
        www.LobosStudios.com <http://www.LobosStudios.com> *
        www.facebook.com/LobosStudios
        <http://www.facebook.com/LobosStudios> * @LobosStudios


        _______________________________________________
        jetty-users mailing list
        [email protected] <mailto:[email protected]>
        To change your delivery options, retrieve your password, or
        unsubscribe from this list, visit
        https://dev.eclipse.org/mailman/listinfo/jetty-users


    _______________________________________________
    jetty-users mailing list
    [email protected]  <mailto:[email protected]>
    To change your delivery options, retrieve your password, or unsubscribe 
from this list, visit
    https://dev.eclipse.org/mailman/listinfo/jetty-users

-- Lobos Studios - Website and Mobile App Design & Development; IT
    Support; Computer Maintenance
    Toll Free  877.919.4WEB - Apple Valley 760.684.8859 - Los Angeles
    310.945.2410 - Cleveland 216.242.4010
    www.LobosStudios.com <http://www.LobosStudios.com> *
    www.facebook.com/LobosStudios
    <http://www.facebook.com/LobosStudios> * @LobosStudios


    _______________________________________________
    jetty-users mailing list
    [email protected] <mailto:[email protected]>
    To change your delivery options, retrieve your password, or
    unsubscribe from this list, visit
    https://dev.eclipse.org/mailman/listinfo/jetty-users


_______________________________________________
jetty-users mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users

--
Lobos Studios - Website and Mobile App Design & Development; IT Support; Computer Maintenance Toll Free 877.919.4WEB - Apple Valley 760.684.8859 - Los Angeles 310.945.2410 - Cleveland 216.242.4010
www.LobosStudios.com * www.facebook.com/LobosStudios * @LobosStudios

_______________________________________________
jetty-users mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users

Reply via email to