I ran the command
sudo ipconfig eth1 192.168.1.5 up To change my server's ip to 192.168.1.5. However upon connecting to it from the external IP (I updated the port forwarding), it does not work. However the internal ip does. I could connect to it through the external ip before the command was run.