> For the complete documentation index, see [llms.txt](https://docs.cloudcyte.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cloudcyte.com/troubleshooting/proxy-troubleshooting/database-server.md).

# Database Server

* If the servers have issue with connecting to the portal server, please check:
  1. /etc/resolv.conf
  2. /etc/resolvconf/resolv.conf.d/head
  3. /etc/dnsmasq.conf
  4. /etc/netplan/\<file>.yaml
* Check DNS Port via executing these commands:&#x20;
  * ss -lptn 'sport = :53'
* Check services via executing these commands:
  * systemctl status postgresql\*
* Check server resources via executing these commands:
  * df -h
  * top
  * btop (if exists)
  * lsblk
  * ncdu (if exist)
* Navigate to the portal server and test the connection:
  * ping \<db\_server\_ip>
  * telnet \<db\_server\_ip> 5432
