#Error Connecting to Node

44 messages · Page 1 of 1 (latest)

fast peak
#

I already set entries in /etc/hosts.
Wings service is runing fine

serene aspenBOT
#

I have found the following for: https://media.discordapp.net/attachments/1050911515366137908/1050911515504541736/image.png
@fast peak; It looks like your browser is unable to reach the Wings.

Make sure that your wings are running using systemctl status wings and that your Wings ports (by default 8080/2022) are open in your firewall or router. This website can check your ports https://dnschecker.org/port-scanner.php

Browser console errors can also provide additional debugging information. More troubleshooting steps can be found at https://pterodactyl.io/panel/1.0/troubleshooting.html#cannot-connect-to-server-errors

fast peak
#

Ports are opend. Service is runing. Console log:

little wagon
#

On what ports are you running the panel?

fast peak
wild moat
#

same problem node wont start wings works fine

kind minnow
fast peak
#

Can anyone help?

dire tiger
fast peak
#

I got my domain on hetzner

#

I just created a a record to my servers ip

fast peak
#

I can Post my dns conrig and apache if needed

ebon temple
#

Are you running Wings on the same host as your Panel?
What is the output of the command netstat -tulpn | grep 8080 on the Wings host?
Are you using the Hetzner firewall? If yes are the ports open, there as well?
Are you using a reverse proxy?

fast peak
ebon temple
#

What are your settings for the Wings node? These can be found under: “Admin panel > Nodes > Node name > Settings”?
Under “Admin panel > Nodes > Node name > Configuration > remote:” what does your variable say?

#

Why aren’t you using ports 80 & 443 for your panel? Are they used somewhere else?

weary narwhal
#

Could you also generate and upload a sosreport? sudo apt install sos && sudo sos report --clean

fast peak
ebon temple
weary narwhal
#

Nah, his panel is on 4443

#
<VirtualHost *:8085>
  ServerName host2.obfuscateddomain1.de

  RewriteEngine On
  RewriteCond %{HTTPS} !=on
  RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R,L]
</VirtualHost>

<VirtualHost *:4443>
  ServerName host2.obfuscateddomain1.de
  DocumentRoot "/var/www/pterodactyl/public"

  AllowEncodedSlashes On

  php_value upload_max_filesize 100M
  php_value post_max_size 100M

  <Directory "/var/www/pterodactyl/public">
    Require all granted
    AllowOverride all
  </Directory>

  SSLEngine on
  SSLCertificateFile /etc/letsencrypt/live/host2.obfuscateddomain1.de/fullchain.pem
  SSLCertificateKeyFile /etc/letsencrypt/live/host2.obfuscateddomain1.de/privkey.pem
</VirtualHost>
#

Oh, nvm

#

I misread your statement.

ebon temple
ebon temple
fast peak
#

I am runing vaultwarden on 443 and 80 so I cant use that. Only got 1 ipv4.

weary narwhal
#

You have Wings listening on 0.0.0.0:8080, correct?

ebon temple
#

Thats ok. When you add a node you define 2 ports. One is for the communication between the panel and the node (wings agent) and the other is for SFTP. Right now we are interested in the first. You have divened the node as 8080. However you are pointing 2 ports to it now, 4443 and 8080 this is wrong

weary narwhal
#

Your hosts file looks wonky, but it may have just been the scrubber messing it up, could you run cat /etc/hosts and show us the output?

ebon temple
#

The FQDN only points to the Host (the IP) the port was predefined when creating the node

fast peak
ebon temple
#

No that is already your panel port. Remove 4443

fast peak
weary narwhal
#

Yeah, your hosts file is incorrectly formatted, I was right.

#

It should be the IP address followed by the hostname.

#

127.0.0.1 localhost.lan is an example.

#

If you clear out that next to last line in your hosts file that should make it valid.

ebon temple
fast peak
#

Works now thank you ❤️

#

I am tired of setting up servers with cli or reboot them, now my friends can do it easily via pterodactyl 🙂