nginx egg wordpress
Hey y'all so I keep getting a database connection time out when I try to access wordpress through the nginx egg I found (yes I double checked to make sure it wasn't malicious).
I've tried
1. creating a database and user manually.
2. creating a database and user via pterodactyl
3. tried using the correct info that was in the wp-config-sample (yes I tried changing and yes wordpress yelled at me so to speak)
4. tried both the main database and the database made on the actual server (via the database area on the nginx server itself made via pterodactyl).
Anyone else had this problem and can provide me a fix brain is kind of fried atm.
9 Replies
Thanks for asking your question!
Make sure to provide as much helpful information as possible such as logs/what you tried and what your exact issue is
Make sure to mark solved when issue is solved!!!
/close
!close
!solved
!answered
Requested by olivia.1337#0
did you make sure the ports are correct and bound right
+ they are open with ufw status?
no I didn't :Facepalm:
:marketplace:
still getting the same error
nginx has the correct port bound to it yeah?
let me check it should
yes it is
:hmm:
thats all id know 😠sorry
if the database is running on the same machine, you might have to use the IP for the pterodactyl interface. It should be like
172.19.0.1
on like pterodactyl_nw0 or pterodactyl0 or something (do ip a
to list ip addresses for interfaces)