المنفذ 443 غير متاح

مرحبًا بك. أحاول إعداد Discourse على خادم Ubuntu (تحديدًا Ubuntu 20)، لكنني أستمر في تلقي خطأ WARNING: Port 443 of computer does not appear to be accessible using hostname: في كل مرة. جربت العديد من الحلول وتصفحّت الكثير من الإجابات، لكنني لم أجد حلًا بعد. هذه هي المرة الأولى التي أقوم فيها بإعداد خادم Discourse، لذا لست متأكدًا تمامًا مما أخطئ فيه أو ما المشكلة. نص الخطأ الكامل هو:

root@vps-zap581523-2:/opt/discourse# ./discourse-setup
Ports 80 and 443 are free for use
'samples/standalone.yml' -> 'containers/app.yml'
Found 4GB of memory and 20 physical CPU cores
setting db_shared_buffers = 1024MB
setting UNICORN_WORKERS = 8
containers/app.yml memory parameters updated.

Hostname for your Discourse? [discourse.example.com]: forum.mayflowerleti.org

Checking your domain name . . .
./discourse-setup: line 36: curl: command not found
WARNING: Port 443 of computer does not appear to be accessible using hostname:  forum.mayflowerleti.org.
./discourse-setup: line 36: curl: command not found
WARNING: Connection to http://forum.mayflowerleti.org (port 80) also fails.

This suggests that forum.mayflowerleti.org resolves to some IP address that does not reach this
machine where you are installing discourse.

The first thing to do is confirm that forum.mayflowerleti.org resolves to the IP address of this server.
You usually do this at the same place you purchased the domain.

If you are sure that the IP address resolves correctly, it could be a firewall issue.
A web search for "open ports YOUR CLOUD SERVICE" might help.

This tool is designed only for the most standard installations. If you cannot resolve
the issue above, you will need to edit containers/app.yml yourself and then type

./launcher rebuild app

root@vps-zap581523-2:/opt/discourse#

في هذه المرحلة، لا أعرف ما يجب فعله. الشخص المسؤول عن VPS قد وجه DNS إلى عنوان IP الخاص بخادم VPS الذي يعمل عليه Discourse، لكن الأمر لا يزال لا يعمل. كما أخبرني أنه لا توجد جدار حماية يمنع الاتصال، لذا لست متأكدًا تمامًا من سبب عدم عمل الأمر. إذا تمكّنت من الحصول على بعض المساعدة، فسيكون ذلك رائعًا. أعتذر عن إنشاء موضوع آخر من هذا النوع، لكن لم يكن أمامي خيار آخر في هذه المرحلة. شكرًا لك على وقتك ومساعدتك.

سجل النطاق الذي يجب أن تضيفه غير متاح بعد أو غير مضبوط بشكل صحيح.

يجب أن يشير forum.domain إلى خادم Ubuntu الذي سيتم تشغيل discourse عليه.

يرجى التحقق والمحاولة مرة أخرى.

أعتقد أنه يشير إلى خادم أوبونتو.


يمكن ملاحظة هنا أنه يشير إلى خادم أوبونتو. لست متأكدًا مما إذا كان يجب تكوينه بطريقة أخرى، لكن من خلال ما يبدو، فهو موجه مباشرة إلى خادم أوبونتو. شكرًا لك على المساعدة رغم ذلك.

إذا كان هذا هو عنوان IP الصحيح، فأنت جاهز للاستخدام

https://www.whatsmydns.net/#A/forum.mayflowerleti.org

إعجاب واحد (1)

عنوان IP صحيح، لكنه لا يعمل. ما زال يظهر الخطأ المذكور أعلاه، ولا أعرف السبب. شكرًا لك على وقتك ومساعدتك.

أي دليل تثبيت تستخدم؟

يجب أن يكون المسار /var/discourse/ إذا كنت تستخدم التثبيت القياسي.

discourse/docs/INSTALL-cloud.md at main · discourse/discourse · GitHub

إعجاب واحد (1)

يبدو أن هناك مشكلة؛ هل تم تثبيت curl فعليًا؟ إذا لم يكن كذلك، قم بتثبيته: apt install curl.

إعجاب واحد (1)

@IAmGav، يبدو أن وضعه في مجلد var قد ساعد في جعله يعمل. أعتقد أنه كان يحتاج إلى أن يكون هناك، بالإضافة إلى حاجتي لتثبيت/إصلاح curl، وهو ما اقترحه @danb35. غير متأكد مما إذا كان السبب هو التغيير إلى مجلد var، أو تثبيت curl، أو مجرد مرور الوقت والتسجيل النهائي، أو مزيج من كل ذلك. شكرًا لكم كلاكم كثيرًا. لست متأكدًا من أي إجابة يجب أن أعيّنها كحل هنا. بمجرد أن أنهي الإعداد، سأعيّن على الأرجح إحدى إجاباتكم كحل. وإذا فشل الإعداد، فسترون على الأرجح ردًا آخر مني. وفي الوقت نفسه، بدا أنه تم الاتصال. شكرًا لكم كلاكم كثيرًا!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.