Open Kiwon-S opened 2 weeks ago
You can change the server port just like any typical Spring application using the following commandline option: -Dserver.port=8080
.
Alternatively, you can modify the settings in the following configuration file: web https://github.com/pinpoint-apm/pinpoint/blob/v2.2.2/web/src/main/resources/application.yml#L7-L8 collector https://github.com/pinpoint-apm/pinpoint/blob/v2.2.2/collector/src/main/resources/application.yml#L7-L8
Thank you. I'd like to buy some beef. I succeeded in changing the port by adding an option to the command line. I changed the problematic 8080 port, but I also need to change the 9000 port that Pinpoint uses, which is the last problem to be solved. Where should I change this? I try to change port 9000, but there are a lot of configuration files, but I can't see them all even when I look for them.
After starting collceter and web, netstat -anltp | When checking with the grep 9000 command, there is nothing floating around.
https://pinpoint-apm.gitbook.io/pinpoint/getting-started/installation Please search the official documentation first before asking a question.
Before answering, please check what the question is. I'm using version 2.2.2 and it's my first time dealing with it, so I'm at a loss. I'm doing a lot of searching, and I don't want to be criticized for blaming others or speculating that I didn't try hard.
Are you asking about the 9000 series ports used for communication between the agent and the collector?
In the collector, you can find these settings in the following file: pinpoint-collector-grpc.properties
collector.receiver.grpc.agent.port
collector.receiver.grpc.stat.port
collector.receiver.grpc.span.port
In the agent, these settings are located in the following file: pinpoint-root.config
profiler.transport.grpc.agent.collector.port
profiler.transport.grpc.metadata.collector.port
profiler.transport.grpc.stat.collector.port
profiler.transport.grpc.span.collector.port
The agent
and metadata
share a port, while stat
and span
use separate ports.
Therefore, three different ports are used in total, and it is essential to ensure that each port is correctly matched.
For more detailed information on these settings, please refer to the manual:
The version I am using is 2.2.2 How to change Pinpoint port 8080 to another port Configuration file location