Is it possible to control which port the mackerel-agent uses? While it's not possible to control the port, we do support connection via proxy. For more information please refer to the section "I want to connect via HTTP Proxy." in the agent specs. Related articles Calculating the number of hosts What is Mackerel's IP address and port number? The agent won’t startup. How do the Mackerel and the mackerel-agent communicate? Is it possible to download various data that is registered in Mackerel in formats such as csv?