1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

I want Java on port 80 !!

Discussion in 'Plesk for Windows - 8.x and Older' started by AbsolutelyFreeW, Nov 22, 2004.

  1. AbsolutelyFreeW

    AbsolutelyFreeW Guest

    0
     
    Hello, I'm a little confused. ok, tomcat usually comes configured to run on port 8080, but that's just for testing. I thought everyone wanted their sites to run on http port???

    How am I going to tell customers, yes we support java, but only on port 9080 ? Can I somehow change the configurations for it to exclude an ip from iis and run it with tomcat instead? or.. would that work? I don't see how that can be done in plesk..anyone help? Are you all using java on an alternative port?
     
  2. Mertz

    Mertz Guest

    0
     
    You could just tell your customers to put a redirect in that points to the same site at that port. I could be wrong but if you can it's as simple as one line of code:
    Code:
    <% Response.Redirect = "http://www.domain.dom:9080" %>
     
  3. AbsolutelyFreeW

    AbsolutelyFreeW Guest

    0
     
    Umm.. I do not want them to need to put a redirect on every page. furthermore the 9080 should not be shown in any browser address field, and frame masking is not accepted as it throws all search engines off. If you have a solution, I'd appreciate it :) thank you! :)
     
  4. Mertz

    Mertz Guest

    0
     
    I apologize I really haven't ever used Tomcat because of it's high CPU and memory overhead so my experience is limited.

    You could try my approach to it and say "sorry we don't support JSP on Windows hosting, perhaps you should try our Linux hosting product". ;)
     
  5. jahsh420

    jahsh420 Guest

    0
     
    This is on Linux and we are having the same issue. Has anybody figured out how to get this to run on port 80?
     
  6. AbsolutelyFreeW

    AbsolutelyFreeW Guest

    0
     
    This is the reply I got from support on this issue (from Alexey I. Lysov that is IMO one of the best Technical support engineers working for plesk)

    In other words, we are pretty much out of luck with this setup. However you can wildcard redirect the domain to that port, meaning a request for

    yourdomain.com:80/somepath/yourfile.jsp

    would redirect to

    yourdomain.com:9080/somepath/yourfile.jsp

    It can be done in IIS, I would think in apache too. It would still show 9080 in the browser but you can at least use port 80 to retrieve the pages.
     
  7. alex042

    alex042 Guest

    0
     
    Port 8080 is the standard alternate http port typically used for java/jsp. As far as I know, you can't run multiple servers (iis or apache and tomcat) on the same port, so for those sites you want java on port 80, if you can get it on those sites specifically, you're http port would have to be changed to something else basically flipping ports on those sites. This may be inconvenient unless the entire site is java/jsp because most people expect standard html to be served up on port 80.
     
Loading...