Re: Fwd: ports

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2008-01-22 at 16:20 +0000, tony.chamberlain@xxxxxxxxx wrote:


> We used to run tomcat on port 8080 (I think this is default).
> We switched to port 80 (default http port) because some
> customers blocked port 8080.
> 
> Now dome pages/scripts still look for port 8080 and no longer
> get Tomcat.
> 
> Is there anyway to forward or redirect from 8080 to 80 so
> if someone goes to 
> 
>     http://myurl.com
> 
> they will get Tomcat, BUT Also if they
> go to
> 
>     http://myurl.com:8080
> 
> it will still work, and they will get the same Tomcat?
> 

You can have it listen to both, and use HTTP redirects to move requests
from the undesired version to the desired version.  You can use IP Table
rules to forward incoming connections from one port to another.

8080 is a common port for proxies, you can strike problems trying to
publicly serve from that port.  Some will block it as an attempt at
stopping potential net abuse.

-- 
[tim@bigblack ~]$ uname -ipr
2.6.23.12-52.fc7 i686 i386

Don't send private replies to my address, the mailbox is ignored.
I read messages from the public lists.
________________________________________________________________

If I wanted a hard time I would have used Windows...

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux