I was able to install wordpress on Ubuntu 24 and access the admin panel in the browser.…
- User
I was able to install wordpress on Ubuntu 24 and access the admin panel in the browser. Soon after my browser crashed and I had to reboot my PC. Now when I go to https://wordpress.local/, I get: Unable to connect LibreWolf can’t establish a connection to the server at wordpress.local. The site could be temporarily unavailable or too busy. Try again in a few moments. If you are unable to load any pages, check your computer’s network connection. If your computer or network is protected by a firewall or proxy, make sure that LibreWolf is permitted to access the web.
- Assistant
It sounds like your local WordPress site at
https://wordpress.local/is no longer reachable after your reboot. Here are some steps to troubleshoot and fix the issue:
1. Check if your local server is running
Since you installed WordPress on Ubuntu, you likely have a web server like Apache or Nginx running. After reboot, these services might not have started automatically.
Run these commands to check the status:
sudo systemctl status apache2or if you use Nginx:
sudo systemctl status nginxIf the service is not running, start it:
sudo systemctl start apache2or
sudo systemctl start nginx
2. Verify your local hostname resolution
wordpress.localis a custom local domain, so your system needs to know how to resolve it tolocalhost(127.0.0.1).Check your
/etc/hostsfile:cat /etc/hostsYou should see a line like:
127.0.0.1 wordpress.localIf not, add it:
sudo nano /etc/hostsAdd this line:
127.0.0.1 wordpress.localSave and exit.
3. Confirm your web server is listening on the right port
If you are using HTTPS (
https://wordpress.local/), make sure your web server is configured with SSL and listening on port 443.Check listening ports:
sudo ss -tuln | grep -E '80|443'You should see something like:
LISTEN 0 128 0.0.0.0:80 LISTEN 0 128 0.0.0.0:443If port 443 is missing, your SSL configuration might not be active.
4. Check firewall settings
Make sure your firewall is not blocking connections to your web server.
Check firewall status:
sudo ufw statusIf active, allow HTTP and HTTPS:
sudo ufw allow 80/tcp sudo ufw allow 443/tcp
5. Restart your web server
After any changes, restart the web server:
sudo systemctl restart apache2or
sudo systemctl restart nginx
6. Test connectivity
Try to ping the hostname:
ping wordpress.localYou should get replies from 127.0.0.1.
Try to access the site with
curl:curl -I https://wordpress.local/This will show if the server responds.
Summary
- Make sure Apache/Nginx is running.
- Ensure
wordpress.localresolves to 127.0.0.1 in/etc/hosts. - Confirm SSL and ports are configured correctly.
- Check firewall rules.
- Restart services.
If you want, share the output of these commands and I can help you further!
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.