Coder Social home page Coder Social logo

How to change Pinpoint port 8080 about pinpoint HOT 6 OPEN

Kiwon-S avatar Kiwon-S commented on August 17, 2024
How to change Pinpoint port 8080

from pinpoint.

Comments (6)

intr3p1d avatar intr3p1d commented on August 17, 2024 1

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

from pinpoint.

Kiwon-S avatar Kiwon-S commented on August 17, 2024

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.

from pinpoint.

Kiwon-S avatar Kiwon-S commented on August 17, 2024

After starting collceter and web, netstat -anltp | When checking with the grep 9000 command, there is nothing floating around.

from pinpoint.

emeroad avatar emeroad commented on August 17, 2024

https://pinpoint-apm.gitbook.io/pinpoint/getting-started/installation
Please search the official documentation first before asking a question.

from pinpoint.

Kiwon-S avatar Kiwon-S commented on August 17, 2024

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.

from pinpoint.

intr3p1d avatar intr3p1d commented on August 17, 2024

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:

from pinpoint.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.