sroseman  
                (Samantha)
               
                 
              
                  
                    February 21, 2020,  9:30pm
                   
                   
              1 
               
             
            
              I've enabled the apache module, but in metricbeat -e, I see the following error.
//Error fetching data for metricset apache.status: error fetching data: error making http request: Get http://localhost:8080/server-status?auto=:  dial tcp 127.0.0.1:8080: connect: connection refused
How do I fix this? What should the host be? Does this depend on my configuration?
             
            
               
               
               
            
            
           
          
            
              
                shaunak  
                (Shaunak Kashyap)
               
              
                  
                    February 21, 2020, 10:49pm
                   
                   
              2 
               
             
            
              Hi,
There's a couple things you can check, to start off:
Is your Apache server running at localhost:8080? 
From your Metricbeat host, can you run curl http://localhost:8080 successfully? 
 
Shaunak
             
            
               
               
               
            
            
           
          
            
              
                system  
                (system)
                  Closed 
               
              
                  
                    March 20, 2020, 10:49pm
                   
                   
              3 
               
             
            
              This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.