On my server (Ubuntu 20.04), I have the following related to webcpanel:
/*
* m_httpd
*
* Allows services to serve web pages. By itself, this module does nothing useful.
*
* Note that using this will allow users to get the IP of your services.
* To prevent this we recommend using a reverse proxy or a tunnel.
*/
module
{
name = "m_httpd"
httpd
{
/* Name of this service. */
name = "httpd/main"
/* IP to listen on. */
ip = "0.0.0.0"
/* Port to listen on. */
port = 12345
/* Time before connections to this server are timed out. */
timeout = 30
/* Listen using SSL. Requires an SSL module. */
ssl = no
/* If you are using a reverse proxy that sends one of the
* extforward_headers set below, set this to its IP.
* This allows services to obtain the real IP of users by
* reading the forwarded-for HTTP header.
*/
#extforward_ip = "192.168.0.255"
/* The header to look for. These probably work as is. */
extforward_header = "X-Forwarded-For Forwarded-For"
}
}
/*
* webcpanel
*
* This module creates a web configuration panel that allows users and operators to perform any task
* as they could over IRC. If you are using the default configuration you should be able to access
* this panel by visiting http://127.0.0.1:8080 in your web browser from the machine Anope is running on.
*
* This module requires m_httpd.
*/
module
{
name = "webcpanel"
/* Web server to use. */
server = "httpd/main";
/* Template to use. */
template = "default";
/* Page title. */
title = "PTirc - Online Accounts Management";
}
When I do
lsof -i :12345
I get the following output:
$ lsof -i :12345
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
services 19618 anope 5u IPv4 1718481 0t0 TCP *:12345 (LISTEN)
So, as you can see, the httpd server is running, listening in the correct port and I can access it.
Please check if there's no firewall and if your httpd is really listening on the specified port.
Try to restart services if you didn't yet, with
/os restart.