MATLAB: Live Script Not working

connectiondns lookuplive scriptMATLAB

Hello,
I cannot use Matlab's Live Editor in any way. I've tried different routers, a phone hotspot, and doing it offline. I've restarted the program and computer plenty of times along with upgrading to 2018b (from 2018a). I'm currently using my school's wifi network, but it didn't work on my home network either.
I need a live script for an assignment due tomorrow, so any help is very much appreciated. My code is done, I just need to make it presentable.
Here's what happens when I open a new live script (see images):
This webpage is not available
ERR_NAME_NOT_RESOLVED
The server at localhost can't be found, because the
DNS lookup failed. DNS is the network service that
translates a website's name to its Internet address.
This error is most often caused by having no connection
to the Internet or a misconfigured network.
It can also be caused by an unresponsive DNS server or
a firewall preventing Chrome from accessing the network.
Thank you very much.
Here's other matlab license/system info:
-----------------------------------------------------------------------------------------------------
MATLAB Version: 9.5.0.944444 (R2018b)
MATLAB License Number: ••••••
Operating System: Mac OS X Version: 10.14 Build: 18A391
Java Version: Java 1.8.0_152-b16 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
-----------------------------------------------------------------------------------------------------
MATLAB Version 9.5 (R2018b) License 731130
Simulink Version 9.2 (R2018b) License 731130
Control System Toolbox Version 10.5 (R2018b) License 731130
DSP System Toolbox Version 9.7 (R2018b) License 731130
Image Processing Toolbox Version 10.3 (R2018b) License 731130
Instrument Control Toolbox Version 3.14 (R2018b) License 731130
Optimization Toolbox Version 8.2 (R2018b) License 731130
Signal Processing Toolbox Version 8.1 (R2018b) License 731130
Simulink Control Design Version 5.2 (R2018b) License 731130
Statistics and Machine Learning Toolbox Version 11.4 (R2018b) License 731130
Symbolic Math Toolbox

Best Answer

"ping localhost" didn't work from my computer. Once this was resolved, it was back to working again.