Bobcares

Webmin unable to connect – Causes and Fixes

by | May 24, 2020

Are you receiving a Webmin unable to connect error?

Webmin connection errors happen due to service failures, lack of server memory, firewall restrictions, etc.

Managing users and domains becomes tough when the Webmin panel is not working.

Here at Bobcares, we routinely resolve Webmin errors as part of our Server Management Services.

Let’s see the possible causes and how we fixed Webmin access for one of our customers.

 

How does Webmin unable to connect error appear?

Recently, one of our customers came with the request.

I cannot access the control panel at https://xxx.server.com:10000

The browser gives the error: “site refuses to connect”

I tried Webmin restart command and it did not work. Please fix it.

Webmin unable to connect

 

What causes Webmin unable to connect error

We’ll now take a look at the top causes that can make Webmin unavailable.

 

1. Webmin service unavailable

One of the primary reasons for Webmin’s connection errors can be service unavailability. The webmin service status can be checked using the command:

service webmin status

If for some reason there are errors, it will cause Webmin to fail. Thus it will not accept connections on port 10000. As a result, the user experiences error in the browser too.

 

2. Firewall restrictions

In many new Webmin installations, the firewall restrictions create trouble with Webmin access.

By default, Webmin runs on port 10000. Therefore, we have to open connections to this port in the server firewall. There should not be any port filtering on the computer from which the user tries to access Webmin.

Here, our Support Engineers easily finds out the status of Webmin port by executing

netstat -lpan | grep :10000

 

3. Insufficient server resources

Lastly, Webmin unable to connect error can even happen when there are limited resources on the server.

For instance, when a customer reported problems with Webmin, the server had no free memory. Moreover, the logs showed these entries too.

May 07 19:41:29 srv02 webmin[24953]: Stopping Webmin server in /usr/share/webmin
May 07 19:41:29 srv02 webmin[24953]: /etc/webmin/stop: 4: kill: No such process

Here, the clamscan process was consuming too much memory. Thus the low free memory caused problems with Webmin.

 

Fixes for Webmin unable to connect error

Now that we know why the Webmin error occurs, let’s check the fixes too.

When the customer approached with Webmin unable to connect error, our Webmin Engineers first checked for the status of Webmin service and port 10000.

Here, the webmin was not working properly.  Therefore, we restarted the service using:

service webmin restart

Further, we confirmed the status of Webmin port 10000. The successful results appeared as

root@srv02:~# netstat -tpln | grep 10000
tcp 0 0 0.0.0.0:10000 0.0.0.0:* LISTEN 24965/perl
tcp6 0 0 :::10000 :::* LISTEN 24965/perl

root@srv02:~# service webmin status
● webmin.service - LSB: web-based administration interface for Unix systems
Loaded: loaded (/etc/init.d/webmin; generated)
Active: active (running) since Thu 2020-05-07 19:41:32 UTC; 32s ago

In cases where the port does not listen correctly, we open port 10000 in the server firewall using these commands.

On an Ubuntu server with UFW firewall, we execute

sudo ufw allow 10000/tcp

Similarly, to open port 10000 in iptables, we use

iptables -A INPUT -p tcp -d 0/0 -s 0/0 --dport 10000 -j ACCEPT

Also when the server has memory constraints, we try to free up some memory on the server. Or, we add additional memory on to the server too.

[Trouble in making Webmin panel work? Get help from the experts.]

 

Conclusion

In short, Webmin unable to connect error happens when there are problems with Webmin service, firewall restrictions, or even due to insufficient server resources. In this write-up, we saw how our Support Engineers made Webmin working for one of our customers.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

var google_conversion_label = "owonCMyG5nEQ0aD71QM";

2 Comments

  1. Alan Crane

    OS Mint linux 20.3. Am unable to access the Webmin website at all. Firefox here is working OK, but when I try to access https://www.webmin.com or the download site I constantly get the following
    The server at http://www.webmin.com is taking too long to respond.

    The site could be temporarily unavailable or too busy. Try again in a few moments.
    If you are unable to load any pages, check your computer’s network connection.
    If your computer or network is protected by a firewall or proxy, make sure that Firefox is permitted to access the Web.

    HAve tried numerous times over last 4 days.
    Any help appreciated

    Reply
    • Hiba Razak

      Hi Alan,
      Please contact our support team via live chat(click on the icon at right-bottom)

      Reply

Submit a Comment

Your email address will not be published. Required fields are marked *

Never again lose customers to poor
server speed! Let us help you.

Privacy Preference Center

Necessary

Necessary cookies help make a website usable by enabling basic functions like page navigation and access to secure areas of the website. The website cannot function properly without these cookies.

PHPSESSID - Preserves user session state across page requests.

gdpr[consent_types] - Used to store user consents.

gdpr[allowed_cookies] - Used to store user allowed cookies.

PHPSESSID, gdpr[consent_types], gdpr[allowed_cookies]
PHPSESSID
WHMCSpKDlPzh2chML

Statistics

Statistic cookies help website owners to understand how visitors interact with websites by collecting and reporting information anonymously.

_ga - Preserves user session state across page requests.

_gat - Used by Google Analytics to throttle request rate

_gid - Registers a unique ID that is used to generate statistical data on how you use the website.

smartlookCookie - Used to collect user device and location information of the site visitors to improve the websites User Experience.

_ga, _gat, _gid
_ga, _gat, _gid
smartlookCookie
_clck, _clsk, CLID, ANONCHK, MR, MUID, SM

Marketing

Marketing cookies are used to track visitors across websites. The intention is to display ads that are relevant and engaging for the individual user and thereby more valuable for publishers and third party advertisers.

IDE - Used by Google DoubleClick to register and report the website user's actions after viewing or clicking one of the advertiser's ads with the purpose of measuring the efficacy of an ad and to present targeted ads to the user.

test_cookie - Used to check if the user's browser supports cookies.

1P_JAR - Google cookie. These cookies are used to collect website statistics and track conversion rates.

NID - Registers a unique ID that identifies a returning user's device. The ID is used for serving ads that are most relevant to the user.

DV - Google ad personalisation

_reb2bgeo - The visitor's geographical location

_reb2bloaded - Whether or not the script loaded for the visitor

_reb2bref - The referring URL for the visit

_reb2bsessionID - The visitor's RB2B session ID

_reb2buid - The visitor's RB2B user ID

IDE, test_cookie, 1P_JAR, NID, DV, NID
IDE, test_cookie
1P_JAR, NID, DV
NID
hblid
_reb2bgeo, _reb2bloaded, _reb2bref, _reb2bsessionID, _reb2buid

Security

These are essential site cookies, used by the google reCAPTCHA. These cookies use an unique identifier to verify if a visitor is human or a bot.

SID, APISID, HSID, NID, PREF
SID, APISID, HSID, NID, PREF