N
N
NkDev2018-10-12 11:13:13
linux
NkDev, 2018-10-12 11:13:13

How to remove an active network connection from startup?

I have Ubuntu. I need to release the busy port 8081. I
enter:
sudo netstat -tpln
I get:

Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name

tcp6       0      0 127.0.0.1:41545         :::*                    LISTEN      1732/java       

tcp6       0      0 :::8081                 :::*                    LISTEN      1732/java

I enter: I receive
ps aux | grep java
:
youtrack  1197  1.8  0.6 7854384 102448 ?      Ssl  10:11   0:39 /usr/bin/java -jar /home/youtrack/youtrack.jar --J-Xmx1G 8081
youtrack  1732  8.2  8.7 5537876 1422780 ?     Sl   10:11   2:56 /usr/lib/jvm/java-9-openjdk-amd64/bin/java -Djl.service=YouTrack -Djl.home=/home/youtrack/.youtrack/app -ea -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=../logs -XX:ErrorFile=../logs/hs_err_pid%p.log -Dfile.encoding=UTF-8 -XX:MaxMetaspaceSize=350m -Xmx1G -Dorg.eclipse.jetty.server.Request.maxFormContentSize=5000000 -Dorg.eclipse.jetty.server.Request.maxFormKeys=10000 -Djetbrains.http.request.header.buffer.size=102400 -Djetbrains.http.response.header.buffer.size=102400 -Djetbrains.jetpass.admin.name=default_admin_name -Dlog4j2.contextSelector=org.apache.logging.log4j.core.selector.BasicContextSelector -Dlauncher.app.extra.lib.dirs=/alpn/1.9/ -jar launcher/lib/app-wrapper/youtrack-wrapper.jar AppStarter com.jetbrains.bundle.bootstrap.Bundle

Yutrek I deleted a long time ago.
I can kill these processes, but after a reboot they reappear. I need to kill uh forever.
Tell me how?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
link7, 2018-10-12
@NkDev

Look in /etc/rc.local and sysyemd for the executable home/youtrack/.youtrack/app

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question