kezhenxu94 commented on issue #3539: Agent services not detected
URL: https://github.com/apache/skywalking/issues/3539#issuecomment-536156344
 
 
   >   1 What's the use of port 10800 11800 12800? I don't see any ports 
listening using 'netstat -anp | grep 12800' after SkyUI started.
   
   `11800` is for collecting trace data, `12800` is for UI to query, it can't 
be more obvious that your backend is not started successfully (I don't see any 
ports listening using 'netstat -anp | grep 12800')
   
   >   2 What do i need to config for agent using spring boot with a "java 
-jar" fashion?  Do I need to specify like 'java 
-javaagent:/path-to/skywalking-agent.jar
   >   -Dskywalking.agent.service_name=trace-api
   >   -Dskywalking.collector.backend_service=localhost:**myAgentPort**
   >   -jar xxx.jar'
   
   it's not **myAgentPort**, it should be **yourBackendPort** as the name 
`skywalking.collector.backend_service` suggests
   
   >   3 I find 3 config files:
   >   /config/application.yml(SW_CORE_REST_PORT:12800 | 
SW_CORE_GRPC_PORT:11800)
   >   /webapp/webapp.yml(listOfServers: 127.0.0.1:12800)
   >   
/config/agent.config(SW_AGENT_COLLECTOR_BACKEND_SERVICES:127.0.0.1:11800), 
which I think related with my problem, but my agent's port is 8013.
   
   >   When I have several backend(agent) services, need to change all these 
config files ?
   
   most (if not all) of the configurations can be configured by command line 
parameters, such as `-DSW_CORE_REST_PORT=xxx`, but according to your questions 
above, I don't think you have read the documentation first, so **please read 
the documentation first before asking, otherwise, it would be difficult to 
communicate**

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to