Note: You are currently viewing documentation for Moodle 3.7. Up-to-date documentation for the latest stable version of Moodle may be available here: error/local hub/cannotregisterbadport.

error/local hub/cannotregisterbadport: Difference between revisions

From MoodleDocs
(localhost site)
(port 80 or 443 restriction removed - MDLSITE-5474)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
If you see this error when trying to register, it will probably be because you are using a non-standard port, eg (8888). Moodle blocks outgoing ports to reduce the potential impact of an outgoing attack in the event of a simple compromise (as well as other things.) As a result, only traffic to http (80) and https (443) is allowed.
Previously we only allowed sites running on port 80 or 443 to register. However this restriction has now been removed. :-)


If you wish to register, you need to run your server on port 80 for http or 443 for https.
If you still obtain an error message "...please ensure your server is running on port 80 for http, or 443 for https." please comment in MDLSITE-5474.


The error is also displayed if your site is hosted locally. Please note that only sites which are on the internet may be registered to Moodle as we cannot connect to a site locally on your computer. If you only want to use Moodle for testing things out then you don't need to put your site online and you don't need to register it. If you do want your site online to use it with students then follow instructions in [[Installing Moodle]] or you could simply sign up for a free [https://moodle.com/cloud/ MoodleCloud] site which is already set up online for you.
The error is also displayed if your site is hosted locally. Please note that only sites which are on the internet may be registered to Moodle as we cannot connect to a site locally on your computer. If you only want to use Moodle for testing things out then you don't need to put your site online and you don't need to register it. If you do want your site online to use it with students then follow instructions in [[Installing Moodle]] or you could simply sign up for a free [https://moodle.com/cloud/ MoodleCloud] site which is already set up online for you.
[[Category:Error]]


[[es:error/local hub/cannotregisterbadport]]
[[es:error/local hub/cannotregisterbadport]]

Latest revision as of 09:29, 7 May 2019

Previously we only allowed sites running on port 80 or 443 to register. However this restriction has now been removed. :-)

If you still obtain an error message "...please ensure your server is running on port 80 for http, or 443 for https." please comment in MDLSITE-5474.

The error is also displayed if your site is hosted locally. Please note that only sites which are on the internet may be registered to Moodle as we cannot connect to a site locally on your computer. If you only want to use Moodle for testing things out then you don't need to put your site online and you don't need to register it. If you do want your site online to use it with students then follow instructions in Installing Moodle or you could simply sign up for a free MoodleCloud site which is already set up online for you.