Need to remove port from http://www.example.com:3232
Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
So on that premise. My question is, can I rewrite my url and change they way it looks so you don't see 3232? But you will still be sent to http://www.mysite.com:3232.
So far it looks like my answer is no. Nothing is impossible so there has to be a way.
The only way to hide the port number is to have the client connect on the default port (port 80). If you are listening for a connection on port 3232, and the client doesn't have that in the URL, how would it know to connect on that port? Just basic TCP issues.
Sorry, this is frankly ridiculous now. youjust keep asking the same question again and again, which i assure we we absolutely do understand. you clearly do NOT understand IP or you would have realised we are right a long long time ago. so why not just take our advice or live with what you've currently got. what you want is not going to happen.
I know that http uses port 80 just like ftp uses 21. I understand that you believe that the only way to hide the port number is to use the default port 80. If I ask apache to listen on a different port I know that I have to add the port manually to get to that destination. That is why I have to add port 3232 after my address. Maybe I should rewrite my question and just say... how does my DNS provider supply a service that allows my browser to show that I am at http://www.mysite.com when actually I am at http://www.mysite.com:3232. I think that will make more sense to the both of you them the way I am currently asking my question.
Your DNS provider runs a webserver on their system at mysite.com and forwards the incoming request to <yourip>:3232. Effectively, it's a reverse transparent proxy.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.