天天看点

Ubuntu下Firefox无法打开localhost:1158/em的解决方案

在Firefox浏览器中输入https://localhost:1158/em

得到错误提示:

Unable to connect

Firefox can't establish a connection to the server at localhost:1158.

    The site could be temporarily unavailable or too busy. Try again in a few moments.

    If you are unable to load any pages, check your computer's network connection.

    If your computer or network is protected by a firewall or proxy, make sure that Firefox is permitted to access the Web.

解决方法:

1)打开监听lsnrctl start

2)在终端输入emctl start dbconsole

3)刷新Firefox浏览器页面,会进入Database Instance:orcl页面,点击右上角的startup按钮,

在Host Credentials中输入电脑的用户名和密码,比如zhs和111222333,

在Database Credentials中输入数据库的用户名sys和密码***,Connect As按默认的SYSDBA不用改,

点击OK按钮,进入Startup/Shutdown:Confirmation界面,

继续阅读