Submit a ticketCall us

AnnouncementsTHWACKcamp 2018 is here

2018 is the seventh year for THWACKcamp™, and once again we’ll be live October 17 – 18 with packed session tracks covering everything from network monitoring and management, to change control, application management, storage, cloud and DevOps, security, automation, virtualization, mapping, logging, and more.

Register for online sessions.

Home > Success Center > Server & Application Monitor (SAM) > SAM - Knowledgebase Articles > Apache template error: Cannot connect to localhost

Apache template error: Cannot connect to localhost

Overview

When using the Apache Template, you receive the following error:

Cannot connect to localhost.

Environment

All SAM versions

Resolution

Check if mod_status is enabled.To do this, follow the instructions found at:

http://serverfault.com/questions/328...tus-is-enabled (© 2018 Stack Exchange Inc, available at https://serverfault.com, obtained on October 15, 2018)

More instructions are available here:

http://httpd.apache.org/docs/2.2/mod/mod_status.html (© 2018 The Apache Software Foundation, available at http://httpd.apache.org, obtained on October 15, 2018)

 

Also, if Server-Status page is on a non-standard port (80), set the Monitor's Command Line as follows:

 

Perl ${Script} {IP or Hostname}:{Port}

 

***Replace {IP or Hostname} with actual IP or Hostname.

***Replace {Port} with actual port

 

Disclaimer: Please note, any content posted herein is provided as a suggestion or recommendation to you for your internal use. This is not part of the SolarWinds software or documentation that you purchased from SolarWinds, and the information set forth herein may come from third parties. Your organization should internally review and assess to what extent, if any, such custom scripts or recommendations will be incorporated into your environment.  You elect to use third party content at your own risk, and you will be solely responsible for the incorporation of the same, if any.

 

Last modified

Tags

Classifications

Public