Answer the question
In order to leave comments, you need to log in
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
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
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question