Live editor connection error

조회 수: 1 (최근 30일)
Mu Chiao
Mu Chiao 2018년 6월 30일
답변: Scott Glaser 2019년 3월 12일
I have 2018a (update 3) installed in OSX. When I tried to use the Live editor, the following error appears:
This webpage is not available
ERR_NAME_NOT_RESOLVED ReloadHide details
The server at localhost can't be found, because the DNS lookup failed.

답변 (3개)

Walter Roberson
Walter Roberson 2018년 7월 7일
There are several parts of MATLAB that are implemented as separate processes, that MATLAB communicates with using TCP on the same machine.
Unfortunately, that type of configuration can have difficulty in a couple of circumstances:
  • If a firewall is set up that is blocking the local machine from talking to itself (this tend to be a problem more associated with MS Windows); or
  • If for some reason, the system is unable to translate the special name "localhost" to refer to the machine you are running on; in particular it should typically translate to 127.0.0.1 (or perhaps the IPv6 equivalent); this is what is happening to you.
See https://www.tekrevue.com/tip/edit-hosts-file-mac-os-x/ for information on how you can edit the file that OS-X uses to resolve names locally. The entry that is needed is
127.0.0.1 localhost
(exact spacing is not important.)
If that entry is already there, then name resolution is failing on your computer for some unknown reason, and I would recommend rebooting in that case.

Mu Chiao
Mu Chiao 2018년 7월 11일
편집: Walter Roberson 2018년 7월 11일
Thanks Walter. Indeed it was the problem with localhost. For those who are having the same problem. I am able to solve the problem with the aid from Matlab customer service.
I edited the file: /etc/hosts as the following:
##
# Host Database
#
# localhost is used to configure the loopback interface
# when the system is booting. Do not change this entry.
##
127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost

Scott Glaser
Scott Glaser 2019년 3월 12일
This did not work for me. I checked the local host and rebooted and I still cannot access the help files.

카테고리

Help CenterFile Exchange에서 Manage Products에 대해 자세히 알아보기

태그

제품


릴리스

R2018a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by