Localhost错误Fuseki服务Ubuntu

Localhost错误Fuseki服务Ubuntu

本文介绍了Localhost错误Fuseki服务Ubuntu的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们已经在Ubuntu服务器上安装了 Fuseki2 作为服务,它的工作正常:

We've installed Fuseki2 as a service at a Ubuntu-server and its works fine:

sudo service fuseki status * Fuseki is running with pid: 915

sudo service fuseki status * Fuseki is running with pid: 915

我现在可以转到 http://xyz:30303/manage.html (其中 xyz 是服务器的IP地址),它会显示管理数据集"屏幕,但是当我单击添加新数据集时没有任何反应.

I now can go to http://xyz:30303/manage.html (where xyz it the ip-address of the server) and it shows the Manage datasets screen, but nothing happens when I click add new dataset.

控制台浏览器(以及 http://xyz:3030/ $/服务器 )显示为"无法加载资源:服务器的响应状态为403(访问被拒绝:仅允许本地主机访问)"

Console browser (and also http://xyz:3030/$/server) gives "Failed to load resource: the server responded with a status of 403 (Access denied : only localhost access allowed)"

如何正确配置?

推荐答案

使用shiro的默认安全性限制对本地主机的访问.您可以在 http://jena.apache.org/documentation中找到有关安全配置的信息./fuseki2/fuseki-security.html 和默认shiro.ini中的示例

Default security, using shiro, limits access to localhost. You can find information on security configuration here http://jena.apache.org/documentation/fuseki2/fuseki-security.html and examples in the default shiro.ini

这篇关于Localhost错误Fuseki服务Ubuntu的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-11 18:37