When I start the server on localhost (using my pc connected to the same IP) Pterodactyl connects and works well with the console, but when I connect with another internet (for example, my phone data) I can enter the website, but I can't connect to my server, leaving to that error. I opened the ports 2022, 8080 and 443, but I don't know if i need to open more ports for it
#We're having some trouble connecting to your server
25 messages · Page 1 of 1 (latest)
Having the trouble connecting server
And here you can see how it connects
I don't know how many ports I have to open
help
Hello 👋, and welcome to the Pterodactyl Discord @molten valve! We're excited to see you here, but we'll likely need a bit more information from you in order to provide a good experience in these support channels.
Always share any errors or logs in a text format or using paste sites for me to assist you. Please make sure you've collected — and provide — any associated error logs relating to the service with which you're seeking help. The commands below should help you out, and once you've provided the logs I should be able to better assist you.
Panel: tail -n 150 /var/www/pterodactyl/storage/logs/laravel-$(date +%F).log | nc pteropaste.com 99
Wings: sudo wings diagnostics
Please see .plogs and .wlogs respectively for more information.
I have found the following for: https://ptero.co/uguzorixeb
@molten valve Your Panel remote URL in the Wings config.yml does not match with the URL from which you're making the request. Ignore the error if this is not you doing it.
If you know what you are doing and are intentionally trying to use a different origin such as when using API for websocket connection, make sure to add it to your Wings config.yml allowed origins as shown in the example below. Ue correct HTTP or HTTPS scheme. Wildcard '*' can be used to allow all origins.
allowed_origins:
- https://test.source.com
- http://another.panel.com
Restart Wings systemctl restart wings to apply the change.
Hmm George_Thinking
likely you've used a local address for your nodes FQDN
There is a way to check that?
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
Should the panel and wings be located on the same network, you might experience NAT reflection issues. In that case, type .nat for more information.
I will guess that host thing i should put my ip there
Well, I think I did some things and now it doesn't even work on localhost...
help
Hello 👋, and welcome to the Pterodactyl Discord @molten valve! We're excited to see you here, but we'll likely need a bit more information from you in order to provide a good experience in these support channels.
Always share any errors or logs in a text format or using paste sites for me to assist you. Please make sure you've collected — and provide — any associated error logs relating to the service with which you're seeking help. The commands below should help you out, and once you've provided the logs I should be able to better assist you.
Panel: tail -n 150 /var/www/pterodactyl/storage/logs/laravel-$(date +%F).log | nc pteropaste.com 99
Wings: sudo wings diagnostics
Please see .plogs and .wlogs respectively for more information.
I have found the following for: https://ptero.co/lahigucuto
You will normally see 502 bad gateway error when php-fpm can't be reached by your web server. This can be due to a wrong path, it not running or wrong permissions. Confirm that it is running and using the correct php-fpm version in the config pterodactyl.conf file. It would be attempting to use PHP 8.1 by default. When using other PHP versions, make sure to change the php-fpm version in your config to match your used PHP version.
Not sure where to find the server block file? Type .webconf and I will respond with more instructions. Web server error logs can provide additional details.
Your server block file would be located by default at /etc/nginx/sites-available/pterodactyl.conf OR /etc/apache2/sites-available/pterodactyl.conf depending on what web server you are using.
CentOS paths would be at /etc/nginx/conf.d/pterodactyl.conf OR /etc/apache2/sites-available/pterodactyl.conf.
Hello 👋, and welcome to the Pterodactyl Discord @molten valve! We're excited to see you here, but we'll likely need a bit more information from you in order to provide a good experience in these support channels.
Always share any errors or logs in a text format or using paste sites for me to assist you. Please make sure you've collected — and provide — any associated error logs relating to the service with which you're seeking help. The commands below should help you out, and once you've provided the logs I should be able to better assist you.
Panel: tail -n 150 /var/www/pterodactyl/storage/logs/laravel-$(date +%F).log | nc pteropaste.com 99
Wings: sudo wings diagnostics
Please see .plogs and .wlogs respectively for more information.