Younohost server can't be reached from my main pc but works fine on other devices

My YunoHost server

Hardware: Old laptop
YunoHost version: 11.1.20
I have access to my server : yes to all
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no

Description of my issue

I was able to connect to my server through my main PC earlier and then it suddenly stops connecting and my browsers throw a “This site can’t be reached” (ERR_CONNECTION_TIMED_OUT) error for some reason of which I’m not aware.
I’m able to Ping my url without issue but the browser itself fails to connect.
I am not running anything that may affect the connection somehow unless it’s something I’m not aware of in the background.

I can however connect to my server with my tablet just fine.

Restarting my PC fixes the issue but it’ll probably start happening again.
Anyone know what the issue could possibly be?

ty.

=================================
Base system (basesystem)
=================================

[INFO] Server hardware architecture is bare-metal amd64
  - Server model is ASUSTeK COMPUTER INC. X551CAP

[INFO] Server is running Linux kernel 5.10.0-21-amd64

[INFO] Server is running Debian 11.7

[INFO] Server is running YunoHost 11.1.20 (stable)
  - yunohost version: 11.1.20 (stable)
  - yunohost-admin version: 11.1.9.4 (stable)
  - moulinette version: 11.1.4 (stable)
  - ssowat version: 11.1.4 (stable)

[WARNING] There's been a suspiciously high number of authentication failures recently. You may want to make sure that fail2ban is running and is correctly configured, or use a custom port for SSH as explained in https://yunohost.org/security.



=================================
Internet connectivity (ip)
=================================

[SUCCESS] Domain name resolution is working!

[SUCCESS] The server is connected to the Internet through IPv4!
  - Global IP: xx.xx.xx.xx
  - Local IP: 192.168.1.70

[SUCCESS] The server is connected to the Internet through IPv6!
  - Global IP: xx:xx:xx:xx:xx:xx
  - Local IP: fe80::e23f:49ff:fec5:50e0



=================================
DNS records (dnsrecords)
=================================

[SUCCESS] DNS records are correctly configured for domain maindomain.tld (category basic)

[SUCCESS] DNS records are correctly configured for domain maindomain.tld (category mail)

[SUCCESS] DNS records are correctly configured for domain maindomain.tld (category xmpp)

[SUCCESS] DNS records are correctly configured for domain maindomain.tld (category extra)



=================================
Ports exposure (ports)
=================================

[SUCCESS] Port 22 is reachable from the outside.
  - Exposing this port is needed for admin features (service ssh)

[ERROR] Port 25 is not reachable from the outside.
  - Exposing this port is needed for email features (service postfix)
  - To fix this issue, you most probably need to configure port forwarding on your internet router as described in https://yunohost.org/isp_box_config

[SUCCESS] Port 80 is reachable from the outside.
  - Exposing this port is needed for web features (service nginx)

[SUCCESS] Port 443 is reachable from the outside.
  - Exposing this port is needed for web features (service nginx)

[SUCCESS] Port 587 is reachable from the outside.
  - Exposing this port is needed for email features (service postfix)

[SUCCESS] Port 993 is reachable from the outside.
  - Exposing this port is needed for email features (service dovecot)

[SUCCESS] Port 5222 is reachable from the outside.
  - Exposing this port is needed for xmpp features (service metronome)

[SUCCESS] Port 5269 is reachable from the outside.
  - Exposing this port is needed for xmpp features (service metronome)



=================================
Web (web)
=================================

[SUCCESS] Domain maindomain.tld is reachable through HTTP from outside the local network.

[SUCCESS] Domain boards.maindomain.tld is reachable through HTTP from outside the local network.

[WARNING] Your local network does not seem to have hairpinning enabled.
  - This is probably because of your ISP box / router. As a result, people from outside your local network will be able to access your server as expected, but not people from inside the local network (like you, probably?) when using the domain name or global IP. You may be able to improve the situation by having a look at https://yunohost.org/dns_local_network



=================================
Email (mail)
=================================

[ERROR] The SMTP mail server cannot send emails to other servers because outgoing port 25 is blocked in IPv4.
  - You should first try to unblock outgoing port 25 in your internet router interface or your hosting provider interface. (Some hosting providers may require you to send them a support ticket for this).
  - Some providers won't let you unblock outgoing port 25 because they don't care about Net Neutrality.
     - Some of them provide the alternative of using a mail server relay though it implies that the relay will be able to spy on your email traffic.
    - A privacy-friendly alternative is to use a VPN *with a dedicated public IP* to bypass these kinds of limits. See https://yunohost.org/#/vpn_advantage
    - You can also consider switching to a more net neutrality-friendly provider

[ERROR] The SMTP mail server cannot send emails to other servers because outgoing port 25 is blocked in IPv6.
  - You should first try to unblock outgoing port 25 in your internet router interface or your hosting provider interface. (Some hosting providers may require you to send them a support ticket for this).
  - Some providers won't let you unblock outgoing port 25 because they don't care about Net Neutrality.
     - Some of them provide the alternative of using a mail server relay though it implies that the relay will be able to spy on your email traffic.
    - A privacy-friendly alternative is to use a VPN *with a dedicated public IP* to bypass these kinds of limits. See https://yunohost.org/#/vpn_advantage
    - You can also consider switching to a more net neutrality-friendly provider

[ERROR] The SMTP mail server is unreachable from the outside on IPv4. It won't be able to receive emails.
  - Could not open a connection on port 25 to your server in IPv4. It appears to be unreachable.
    1. The most common cause for this issue is that port 25 is not correctly forwarded to your server.
    2. You should also make sure that service postfix is running.
    3. On more complex setups: make sure that no firewall or reverse-proxy is interfering.

[ERROR] The SMTP mail server is unreachable from the outside on IPv6. It won't be able to receive emails.
  - Could not open a connection on port 25 to your server in IPv6. It appears to be unreachable.
    1. The most common cause for this issue is that port 25 is not correctly forwarded to your server.
    2. You should also make sure that service postfix is running.
    3. On more complex setups: make sure that no firewall or reverse-proxy is interfering.

[ERROR] Reverse DNS is not correctly configured for IPv4. Some emails may fail to get delivered or be flagged as spam.
  - Current reverse DNS: d66-183-96-221.bchsia.telus.net
    Expected value: maindomain.tld
  - You should first try to configure reverse DNS with maindomain.tld in your internet router interface or your hosting provider interface. (Some hosting providers may require you to send them a support ticket for this).
  - Some providers won't let you configure your reverse DNS (or their feature might be broken...). If you are experiencing issues because of this, consider the following solutions:
     - Some ISP provide the alternative of using a mail server relay though it implies that the relay will be able to spy on your email traffic.
    - A privacy-friendly alternative is to use a VPN *with a dedicated public IP* to bypass this kind of limits. See https://yunohost.org/#/vpn_advantage
    - Or it's possible to switch to a different provider

[ERROR] Reverse DNS is not correctly configured for IPv6. Some emails may fail to get delivered or be flagged as spam.
  - Current reverse DNS: node-1w7jr9qtvga4lgwfqlt47oa8w.ipv6.telus.net
    Expected value: maindomain.tld
  - You should first try to configure reverse DNS with maindomain.tld in your internet router interface or your hosting provider interface. (Some hosting providers may require you to send them a support ticket for this).
  - Some providers won't let you configure your reverse DNS (or their feature might be broken...). If your reverse DNS is correctly configured for IPv4, you can try disabling the use of IPv6 when sending emails by running 'yunohost settings set email.smtp.smtp_allow_ipv6 -v off'. Note: this last solution means that you won't be able to send or receive emails from the few IPv6-only servers out there.

[ERROR] Your IP or domain xx.xx.xx.xx is blacklisted on Spamhaus ZEN
  - The blacklist reason is: "https://www.spamhaus.org/query/ip/xx.xx.xx.xx"
  - After identifying why you are listed and fixing it, feel free to ask for your IP or domain to be removed on https://www.spamhaus.org/zen/

[SUCCESS] 0 pending emails in the mail queues



=================================
Services status check (services)
=================================

[SUCCESS] Service bookstack is running!

[SUCCESS] Service dnsmasq is running!

[SUCCESS] Service dovecot is running!

[SUCCESS] Service fail2ban is running!

[SUCCESS] Service focalboard is running!

[SUCCESS] Service gitlab-runsvdir is running!

[SUCCESS] Service metronome is running!

[SUCCESS] Service mongod is running!

[SUCCESS] Service mysql is running!

[SUCCESS] Service nginx is running!

[SUCCESS] Service php7.4-fpm is running!

[SUCCESS] Service php8.1-fpm is running!

[SUCCESS] Service postfix is running!

[SUCCESS] Service postgresql is running!

[SUCCESS] Service redis-server is running!

[SUCCESS] Service rocketchat is running!

[SUCCESS] Service rspamd is running!

[SUCCESS] Service slapd is running!

[SUCCESS] Service ssh is running!

[SUCCESS] Service yunohost-api is running!

[SUCCESS] Service yunohost-firewall is running!

[SUCCESS] Service yunomdns is running!



=================================
System resources (systemresources)
=================================

[SUCCESS] The system still has 3.0 GiB (39%) RAM available out of 7.7 GiB.

[SUCCESS] The system has 2.0 GiB of swap!
  - Please be careful and aware that if the server is hosting swap on an SD card or SSD storage, it may drastically reduce the life expectancy of the device.

[SUCCESS] Storage / (on device /dev/sda6) still has 633 GiB (97.2%) space left (out of 650 GiB)!

[SUCCESS] Storage /boot (on device /dev/sda1) still has 70 MiB (33%) space left (out of 213 MiB)!



=================================
System configurations (regenconf)
=================================

[SUCCESS] All configuration files are in line with the recommended configuration!



=================================
Applications (apps)
=================================

[SUCCESS] All installed apps respect basic packaging practices


It seems you have a hairpinning problem, check this Local network access to your server | Yunohost Documentation

2 Likes

Here’s what i found out when tacking this issue: my “Telus Wifi Hub” does not seem to support this dns setting which would allow me to redirect the server’s domain name to its local IP.
Changing the hosts file text did work though.

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