@imagingmaster21 IMO you have multiple things wrong here, all of them giving you a different error.
I would nuke the fogproject git repo directory and reclone it from github then rerun the fog installer.
Beyond that you need to confirm the FOG server ip address has not changed since fog was installed. You can do this by viewing the hidden config file /opt/fog/.fogsettings if that file contains a different IP address than is currently set you need to fix that too.
Once you have all of that fixed then you need to ensure you have the 5.6.18 FOS Linux kernel installed.
If you still have issues, open a new thread for each issue so we can keep the problems isolated.