I was able to fix it by turning on my firewall. Edit: turns out the problem was actually the power supply!