自动访问第二个端口 [英] Access a second port automatically

查看:81
本文介绍了自动访问第二个端口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对服务器管理完全陌生,我正在做一些测试,看看端口是如何工作的。



我的本地主机上安装了两台服务器,Tomcat7和Virtuoso。



我想使用myServer.com/sparql提供sparql服务,该服务在virtuoso的端口90上运行。但是,我想只打开Tomcat7使用的端口80,并通过tomcat间接访问virtuoso sparql端点,而无需用户实际意识到它。



是有没有办法做到这一点? URLrewriting会帮助解决这个问题吗?

I am totally new to server administration, and I am doing some testing to see how ports work.

I have two servers installed on my localhost, Tomcat7 and Virtuoso.

I would like to offer a sparql service using myServer.com/sparql which is running on port 90 in virtuoso. However, I would like to open only the port 80 used by Tomcat7, and indirectly give access to the virtuoso sparql endpoint through tomcat without the user actually realizing it.

Is there any way to do this? Would URLrewriting help in this matter?

推荐答案

这篇关于自动访问第二个端口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆