Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Accessing Websites through a Different Port? [closed]

Tags:

browser

ports

I am wanting to access a website from a different port than 80 or 8080. Is this possible? I just want to view the website but through a different port. I do not have a router. I know this can be done because I have a browser that accessing websites through different ports, Called XB Browser by Xero Bank.


Thanks for the answers. So, if I setup a proxy on one computer, I could have it go from my computer, to another computer that then returns the website to me. Would this bypass logging software?

like image 790
Marcus Krueger Avatar asked Sep 17 '08 02:09

Marcus Krueger


People also ask

How do I access a website on a different port?

Select the protocol to use ( http:// or https:// ). Use the Server field to enter the name or IP address of the HTTP server. Do not include the scheme (i.e. http:// ) in this field. If your server is listening on a non-standard port (80 for http:// and 443 for https:// ) then enter the port number into the Port field.

Can you host a website on a different port?

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).

How do I access a website without a port number?

If you want to skip port number in URLs, expose your server on default ports. For http protocol, port 80 is default port. For https protocol, port 443 is default port. So, expose your web server listen on either 80 or 443 as per protocol use.

Why is port 8080 default?

"8080" was chosen since it is "two 80's", and also because it is above the restricted well known service port range (ports 1-1023, see below). Its use in a URL requires an explicit "default port override" to request a web browser to connect to port 8080 rather than the http default of port 80.


3 Answers

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.

like image 193
dimarzionist Avatar answered Nov 27 '22 03:11

dimarzionist


A simple way is to got to http://websitename.com:174, and you will be entering through a different port.

like image 38
Joe Avatar answered Nov 27 '22 02:11

Joe


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?"

like image 44
etchasketch Avatar answered Nov 27 '22 03:11

etchasketch