dolphinscheduler icon indicating copy to clipboard operation
dolphinscheduler copied to clipboard

[Bug] [Module Name] Local Address all-zero monitoring

Open q4q5q6qw opened this issue 10 months ago • 3 comments

Search before asking

  • [X] I had searched in the issues and found no similar issues.

What happened

I modified jvm_args_env.sh, and added -Dserver.address startup parameter to the local IP, but only one port is bound to the local IP after the master, worker, alert, and api are started. For example, port 1235 of the worker service is bound, but port 1234 is not bound.

[service@soc-job-service-0003 bin]$ netstat -ntlp (Not all processes could be identified, non-owned process info will not be shown, you would have to be root to see it all.) Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:50056 0.0.0.0:* LISTEN 3727850/java
tcp 0 0 192.168.0.1:2888 0.0.0.0:* LISTEN 1373202/java
tcp 0 0 192.168.0.1:9898 0.0.0.0:* LISTEN 3498069/python3
tcp 0 0 192.168.0.1:3888 0.0.0.0:* LISTEN 1373202/java
tcp 0 0 0.0.0.0:1234 0.0.0.0:* LISTEN 3533851/java
tcp 0 0 192.168.0.1:1235 0.0.0.0:* LISTEN 3533851/java
tcp 0 0 192.168.0.1:22 0.0.0.0:* LISTEN -
tcp 0 0 127.0.0.1:39607 0.0.0.0:* LISTEN -
tcp 0 0 127.0.0.1:38338 0.0.0.0:* LISTEN -
tcp 0 0 127.0.0.1:38339 0.0.0.0:* LISTEN -
tcp 0 0 192.168.0.1:50053 0.0.0.0:* LISTEN 3727850/java
tcp 0 0 192.168.0.1:2181 0.0.0.0:* LISTEN 1373202/java

What you expected to happen

Port 1234 can also be bound to an IP address.

How to reproduce

Run the vi command to open the jvm_args_env.sh file and add -Dserver.address=192.168.0.1 to the file. Start the service.

Anything else

No response

Version

3.2.x

Are you willing to submit PR?

  • [ ] Yes I am willing to submit a PR!

Code of Conduct

q4q5q6qw avatar Mar 31 '24 13:03 q4q5q6qw

Did you want to modify the port of the worker-server?

SbloodyS avatar Apr 02 '24 08:04 SbloodyS

Did you want to modify the port of the worker-server?

No, Now after starting, the output of using netstat -ntlp is: tcp 0 0 0.0.0.0:1234 0.0.0.0:* LISTEN 3533851/java tcp 0 0 192.168.0.1:1235 0.0.0.0:* LISTEN 3533851/java I would like to be able to output: tcp 0 0 192.168.0.1:1234 0.0.0.0:* LISTEN 3533851/java tcp 0 0 192.168.0.1:1235 0.0.0.0:* LISTEN 3533851/java

q4q5q6qw avatar Apr 04 '24 14:04 q4q5q6qw

This issue has been automatically marked as stale because it has not had recent activity for 30 days. It will be closed in next 7 days if no further activity occurs.

github-actions[bot] avatar May 05 '24 00:05 github-actions[bot]

This issue has been closed because it has not received response for too long time. You could reopen it if you encountered similar problems in the future.

github-actions[bot] avatar May 12 '24 00:05 github-actions[bot]