You can use ssh to forward ports onto somewhere else.
If you have two computers, one you browse from, and one which is free to access websites, and is not logged (ie. you own it and it's sitting at home), then you can set up a tunnel between them to forward http traffic over.
For example, I connect to my home computer from work using ssh, with port forwarding, like this:
ssh -L 22222:<target_website>:80 <home_computer>
Then I can point my browser to
http://localhost:22222/
And this request will be forwarded over ssh. Since the work computer is first contacting the home computer, and then contacting the target website, it will be hard to log.
However, this is all getting into 'how to bypass web proxies' and the like, and I suggest you create a new question asking what exactly you want to do.
Ie. "How do I bypass web proxies to avoid my traffic being logged?"
如果您的问题是关于 IIS(或其他服务器)配置 - 是的,这是可能的。 您所需要做的就是在默认站点或虚拟目录下创建端口映射,并将特定端口分配给您需要的站点。 例如,当默认端口分配给某些 UI 前端并且您希望将服务分配给相同地址但具有不同端口时,它有时对于 Web 服务非常有用。
If your question is about IIS(or other server) configuration - yes, it's possible. All you need is to create ports mapping under your Default Site or Virtual Directory and assign specific ports to the site you need. For example it is sometimes very useful for web services, when default port is assigned to some UI front-end and you want to assign service to the same address but with different port.
No, as the server decides what port it is run on. Perhaps you could install a proxy, which would redirect the port, but in the end the connection would be made on port 80 from your machine.
您可以在任何端口上运行 Web 服务器。 80 只是约定,8080(非特权端口上的 Web 服务器)和 443(Web 服务器 + ssl)也是如此。 但是,如果您希望通过将浏览器指向不同的端口来查看某些网站,那么您可能就不那么幸运了。 除非 Web 服务器明确地在该端口上运行,否则您只会收到一条错误消息。
You can run the web server on any port. 80 is just convention as are 8080 (web server on unprivileged port) and 443 (web server + ssl). However if you're looking to see some web site by pointing your browser to a different port you're probably out of luck. Unless the web server is being run on that port explicitly you'll just get an error message.
when viewing a website it gets assigned a random port, it will always come from port 80 (usually always, unless the server admin has changed the port) there's no way for someone to change that port unless you have control of the server.
如果您想在客户端使用不同的端口,但想与 Web 服务器端的端口 80 通信,则需要将流量从端口 x 路由到端口 80。启动并运行该端口的常用方法就是使用端口转发。 ssh 可以为您执行此操作,请参阅此处了解 Unix/技术概述或此处。
希望有帮助。
It depends.
The web server on the other end will be set to a certain port, usually 80 and will only accept requests on that specific port. Something along the chain will need to be talking to port 80 to the website.
If you control the website, then you can change the port, or get it to accept requests on multiple ports.
If the website is already talking on a different port, you can just use the colon syntax to reference another port (eg: http://server.com:1234 for port 1234).
If you want to use a different port on your client end, but you want to talk to port 80 at the web server end, you'll need to route traffic from port x to port 80. A common way to get this up and running is to use Port Fowarding. ssh can do this for you, see here for a Unix/technical overview or here if you're on Windows.
您只能通过与http服务器绑定的端口访问网站。 示例:我有一个 Web 服务器,它正在侦听端口 123 上的连接,您只能将我的页面连接到我的 123 端口。
You can only access a website throught the port that is bind with the http server. Example: i hava a web server and it is listening for connections on port 123, the you only can get my pages connecting to my 123 port.
如果您指的是网络服务器上的“绕过日志记录软件”,则不是。 至少它会通过代理系统的 IP 地址看到来自您的流量。 如果您试图规避 IT 部门实施的控制措施,那么您需要重新考虑这一点。 如果您的 IT 部门阻止任何地方的端口 80、8080 或 443 出站流量,那么这是有原因的。 询问您的 IT 总监。 如果您需要从本地工作站访问这些端口来完成工作,请说明您的情况。
安装代理服务器或使用免费代理服务可能违反公司政策,并可能使您的工作面临风险。
To clarify earlier answers, the HTTP protocol is 'registered' with port 80, and HTTP over SSL (aka HTTPS) is registered with port 443.
If you mean "bypass logging software" on the web server, no. It will see the traffic coming from you through the proxy system's IP address, at least. If you're trying to circumvent controls put into place by your IT department, then you need to rethink this. If your IT department blocks traffic to port 80, 8080 or 443 anywhere outbound, there is a reason. Ask your IT director. If you need access to these ports outbound from your local workstation to do your job, make your case with them.
Installing a proxy server, or using a free proxy service, may be a violation of company policies and could put your employment at risk.
除非您通过代理浏览,否则托管您要访问的站点的 Web 服务器必须配置为侦听 80 或 8080 以外的端口。
Unless you're browsing through a proxy, the web servers hosting the sites you want to access must be configured to listen to a port other than 80 or 8080.
也许这是显而易见的,但是 FWIW 仅当 Web 服务器在备用端口上为该网站提供请求时,这才有效。 Web 服务器仅在端口 80 上为站点提供服务的情况并不罕见。
Perhaps this is obvious, but FWIW this will only work if the web server is serving requests for that website on the alternate port. It's not at all uncommon for a webserver to only serve a site on port 80.
发布评论
评论(12)
一个简单的方法是访问 http://websitename.com:174,您将通过不同的方式进入港口。
A simple way is to got to http://websitename.com:174, and you will be entering through a different port.
您可以使用 ssh 将端口转发到其他地方。
如果您有两台计算机,一台用于浏览,另一台可以免费访问网站且未登录(即您拥有它并且它位于家里),那么您可以在它们之间设置一条隧道来转发 http 流量超过。
例如,我使用 ssh 连接到我的家庭计算机,并使用端口转发,如下所示:
然后我可以将浏览器指向
并且此请求将通过 ssh 转发。 由于工作计算机先联系家庭计算机,然后再联系目标网站,因此将很难登录。
然而,这一切都涉及“如何绕过网络代理”之类的问题,我建议您创建一个新问题,询问您到底想做什么。
IE。 “如何绕过网络代理以避免我的流量被记录?”
You can use ssh to forward ports onto somewhere else.
If you have two computers, one you browse from, and one which is free to access websites, and is not logged (ie. you own it and it's sitting at home), then you can set up a tunnel between them to forward http traffic over.
For example, I connect to my home computer from work using ssh, with port forwarding, like this:
Then I can point my browser to
And this request will be forwarded over ssh. Since the work computer is first contacting the home computer, and then contacting the target website, it will be hard to log.
However, this is all getting into 'how to bypass web proxies' and the like, and I suggest you create a new question asking what exactly you want to do.
Ie. "How do I bypass web proxies to avoid my traffic being logged?"
如果您的问题是关于 IIS(或其他服务器)配置 - 是的,这是可能的。 您所需要做的就是在默认站点或虚拟目录下创建端口映射,并将特定端口分配给您需要的站点。 例如,当默认端口分配给某些 UI 前端并且您希望将服务分配给相同地址但具有不同端口时,它有时对于 Web 服务非常有用。
If your question is about IIS(or other server) configuration - yes, it's possible. All you need is to create ports mapping under your Default Site or Virtual Directory and assign specific ports to the site you need. For example it is sometimes very useful for web services, when default port is assigned to some UI front-end and you want to assign service to the same address but with different port.
不,因为服务器决定它在哪个端口上运行。 也许您可以安装一个代理,它会重定向端口,但最终会在您计算机的端口 80 上建立连接。
No, as the server decides what port it is run on. Perhaps you could install a proxy, which would redirect the port, but in the end the connection would be made on port 80 from your machine.
您可以在任何端口上运行 Web 服务器。 80 只是约定,8080(非特权端口上的 Web 服务器)和 443(Web 服务器 + ssl)也是如此。 但是,如果您希望通过将浏览器指向不同的端口来查看某些网站,那么您可能就不那么幸运了。 除非 Web 服务器明确地在该端口上运行,否则您只会收到一条错误消息。
You can run the web server on any port. 80 is just convention as are 8080 (web server on unprivileged port) and 443 (web server + ssl). However if you're looking to see some web site by pointing your browser to a different port you're probably out of luck. Unless the web server is being run on that port explicitly you'll just get an error message.
当查看网站时,它会被分配一个随机端口,它将始终来自端口 80(通常总是来自端口 80,除非服务器管理员更改了端口),除非您可以控制服务器,否则其他人无法更改该端口。
when viewing a website it gets assigned a random port, it will always come from port 80 (usually always, unless the server admin has changed the port) there's no way for someone to change that port unless you have control of the server.
这取决于。
另一端的 Web 服务器将设置为某个端口(通常为 80),并且仅接受该特定端口上的请求。 链条上的某些东西需要与网站的端口 80 进行通信。
如果您控制该网站,则可以更改端口,或使其接受多个端口上的请求。
如果网站已经在不同的端口上进行通信,您只需使用冒号语法来引用另一个端口(例如: http:// /server.com:1234 端口 1234)。
如果您想在客户端使用不同的端口,但想与 Web 服务器端的端口 80 通信,则需要将流量从端口 x 路由到端口 80。启动并运行该端口的常用方法就是使用端口转发。 ssh 可以为您执行此操作,请参阅此处了解 Unix/技术概述或此处。
希望有帮助。
It depends.
The web server on the other end will be set to a certain port, usually 80 and will only accept requests on that specific port. Something along the chain will need to be talking to port 80 to the website.
If you control the website, then you can change the port, or get it to accept requests on multiple ports.
If the website is already talking on a different port, you can just use the colon syntax to reference another port (eg: http://server.com:1234 for port 1234).
If you want to use a different port on your client end, but you want to talk to port 80 at the web server end, you'll need to route traffic from port x to port 80. A common way to get this up and running is to use Port Fowarding. ssh can do this for you, see here for a Unix/technical overview or here if you're on Windows.
Hope that helps.
如果网站服务器正在侦听不同的端口,那么可以,只需使用 http://address:port/
如果服务器没有监听不同的端口,那么显然你不能。
If website server is listening to a different port, then yes, simply use http://address:port/
If server is not listening to a different port, then obviously you cannot.
您只能通过与http服务器绑定的端口访问网站。
示例:我有一个 Web 服务器,它正在侦听端口 123 上的连接,您只能将我的页面连接到我的 123 端口。
You can only access a website throught the port that is bind with the http server.
Example: i hava a web server and it is listening for connections on port 123, the you only can get my pages connecting to my 123 port.
为了澄清之前的答案,HTTP 协议是在端口 80 上“注册”的,HTTP over SSL(又名 HTTPS)是在端口 443 上注册的。
众所周知的端口号是 由 IANA 记录。
如果您指的是网络服务器上的“绕过日志记录软件”,则不是。 至少它会通过代理系统的 IP 地址看到来自您的流量。 如果您试图规避 IT 部门实施的控制措施,那么您需要重新考虑这一点。 如果您的 IT 部门阻止任何地方的端口 80、8080 或 443 出站流量,那么这是有原因的。 询问您的 IT 总监。 如果您需要从本地工作站访问这些端口来完成工作,请说明您的情况。
安装代理服务器或使用免费代理服务可能违反公司政策,并可能使您的工作面临风险。
To clarify earlier answers, the HTTP protocol is 'registered' with port 80, and HTTP over SSL (aka HTTPS) is registered with port 443.
Well known port numbers are documented by IANA.
If you mean "bypass logging software" on the web server, no. It will see the traffic coming from you through the proxy system's IP address, at least. If you're trying to circumvent controls put into place by your IT department, then you need to rethink this. If your IT department blocks traffic to port 80, 8080 or 443 anywhere outbound, there is a reason. Ask your IT director. If you need access to these ports outbound from your local workstation to do your job, make your case with them.
Installing a proxy server, or using a free proxy service, may be a violation of company policies and could put your employment at risk.
除非您通过代理浏览,否则托管您要访问的站点的 Web 服务器必须配置为侦听 80 或 8080 以外的端口。
Unless you're browsing through a proxy, the web servers hosting the sites you want to access must be configured to listen to a port other than 80 or 8080.
也许这是显而易见的,但是 FWIW 仅当 Web 服务器在备用端口上为该网站提供请求时,这才有效。 Web 服务器仅在端口 80 上为站点提供服务的情况并不罕见。
Perhaps this is obvious, but FWIW this will only work if the web server is serving requests for that website on the alternate port. It's not at all uncommon for a webserver to only serve a site on port 80.