So when setting up my ubuntu server. I was running into issues connecting from different machines on my local network. I ran a port scan using nmap to see that many ports were filtered. I tried many things, but in the end one simple command fixed it.
sudo ufw disable