---
title: "Configuring APM server in Infrasense for APM/RUM Agents"
canonical: "https://thoughtdata.refined.site/space/TUD/55481377/Configuring%20APM%20server%20in%20Infrasense%20for%20APM%2FRUM%20Agents"
format: markdown
---
## Configuring APM server in Infrasense for APM/RUM Agents

Infrasense sensor has a built in APM server component process which starts during Infrasense initialization and by default Infrasense sensor will start collecting data from all APM/RUM agents which are sending data to it. One Infrasense APM server process can cater to multiple APM/RUM agents across different frameworks like java , nodejs etc. By default Infrasense APM server listens to APM agents over HTTPs and uses a built in self signed SSL certificate. Customers can assign a proper SSL certificate to APM server if required.

Related Topic

**Steps required in setting up valid certificates for your Infrasense sensor**

1. [Obtaining & configuring valid certificates for your Infrasense Sensor](https://thoughtdata.atlassian.net/wiki/spaces/TUD/pages/55186534/Obtaining+configuring+valid+certificates+for+your+Infrasense+Sensor)

To view if your ThoughtData APM server is up and running on your Infrasense server. Perform following steps

Go to "cd /usr/local/thoughtdata/infrasense/bin"

Run **"service infrasense status"**

Run **"./ps"**

![image](media://944b77db-3689-40a4-8e8e-345d16ba5376)

 check if your Infrasense and Infrasense APM server is running

If you see status as **Active** for Infrasense and see an entry for **td-apm-server** for **./ps** output both are running properly.

**To change the ThoughtData APM server to listen on HTTP(Port 80) rather than HTTPs(Port 443) perform following steps**

Go to **"cd /usr/local/thoughtdata/infrasense/bin/td_apm_server"**

Edit the file **conf.ini **using** "vi conf.ini"**

![image](media://8ec636a0-8515-432d-8fe3-4369230c8a2b)

 Edit ThoughtData APM server configuration

Change the parameter **protocol **from** https **to** http**

Change the parameter **http_port** from **443** to **80**

Save and exit the file by pressing "Esc" ":" "wq". Your application startup script configuration is now completed

Stop and start ThoughtData Infrasense and APM server process by running "**service infrasense stop**" and "**service infrasense start"**

Your ThoughtData's APM Server configuration to run on HTTP(Port 80) is now competed.

***Note:**** After you configure ThoughtData's APM server to run over HTTP(Port 80), you will be required to change all your ThoughtData's APM/RUM agents to communicate to the APM server on HTTP(Port 80). Refer to ThoughtData's APM agent configuration to know more about how to change the ThoughtData's APM agents to communicate to ThoughtData's APM server over HTTP(Port 80).*

Related Topic

[Configuring APM Agents](https://thoughtdata.atlassian.net/wiki/spaces/TUD/pages/55186510/Configuring+APM+Agents)