Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Issues in running jetty with intellij

Midnight, July 27th here. 19:18 July 28th there, right?

 "" wrote:
Yep, 19:18 here in NZ.   Time to clock off.

I see the "netstat" answer on stack overflow used !  instead of | for the pipe.

Lets see if he gets any further with the suggestions given.

On 27 July 2015 at 19:03, Steve Sobol - Lobos Studios <steve@xxxxxxxxxxxxxxxx> wrote:
... And having said that, I realize that he would need to use netstat -p to get the information he needs. Sorry. It's very late here, and I'm still working, and I'm tired. LOL

Steve Sobol - Lobos Studios wrote:
In fact, the only difference between running netstat with elevated privileges and NOT running it with elevated privileges is that you can't see which process is holding the port open. You need to be root or a Windows administrator to do that, and use the -b command-line option on Windows, or -p on anything that works like Unix, including Linux and OS X.

 "" 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 <steve@xxxxxxxxxxxxxxxx> 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 <steve@xxxxxxxxxxxxxxxx> 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 abhi.bansal21@xxxxxxxxx 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
jetty-users@xxxxxxxxxxx
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
jetty-users@xxxxxxxxxxx
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
jetty-users@xxxxxxxxxxx
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
jetty-users@xxxxxxxxxxx
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
jetty-users@xxxxxxxxxxx
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


--
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
jetty-users@xxxxxxxxxxx
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
jetty-users@xxxxxxxxxxx
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


Back to the top