Results 1 to 7 of 7
  1. #1

    VDS godaddy problem, change port of tomcat.

    Hi All,

    I have a problem with godaddy's virtual dedicated servers hosting. The default port for apache is 80 whereas for tomcat is 9080. So to access my website I have to type myexample.com:9080, since my application is a jsp and servlet. Now the problem is that I want to open my website without the port number which means 80.

    So I try to change the port of apache and tomcat by logging in as root user in the UNIX box, the port are changed but I cannot still access my website by typing the url as
    myexample.com

    Please help me with it.

    Thanks,

    Emily

  2. #2
    Join Date
    Mar 2009
    Location
    Santa Monica, CA
    Posts
    3,372
    So you have tomcat listening on port 80 now? Can you telnet? What happens when you http to url? Can you give us the url? Have you contacted support?

  3. #3
    Join Date
    Mar 2003
    Location
    New York City
    Posts
    7,391
    Hi,

    Keep us posted on solution to your problem if Godaddy fixes/assists you with resolving the problem.

    Good luck!
    CirtexHosting Providing Affordable and Quality Web Hosting & Reseller Hosting since 2003
    LINUX based cPANEL/WHM Shared and Reseller Web Hosting with Fantastico
    HostV VPS Premium Virtual Private Servers & Dedicated Servers powered by cPanel/WHM
    We transfer your sites over quickly! I eat penguins for breakfast ...

  4. #4
    Hi Emily,
    Even i have hosted our application with godaddy.
    even i m facing exact same issue which u stated. Did u get any solution? Plz do share if u have got the solution

    Thanks in Advance,
    Remo












    Quote Originally Posted by emilywebster View Post
    Hi All,

    I have a problem with godaddy's virtual dedicated servers hosting. The default port for apache is 80 whereas for tomcat is 9080. So to access my website I have to type myexample.com:9080, since my application is a jsp and servlet. Now the problem is that I want to open my website without the port number which means 80.

    So I try to change the port of apache and tomcat by logging in as root user in the UNIX box, the port are changed but I cannot still access my website by typing the url as
    myexample.com

    Please help me with it.

    Thanks,

    Emily

  5. #5
    Join Date
    Mar 2009
    Location
    Santa Monica, CA
    Posts
    3,372
    Quote Originally Posted by remo123 View Post
    Hi Emily,
    Even i have hosted our application with godaddy.
    even i m facing exact same issue which u stated. Did u get any solution? Plz do share if u have got the solution

    Thanks in Advance,
    Remo
    Hello Remo,

    I am a GoDaddy reseller. Please provide answers to my questions for Emily above.

  6. #6
    You don't have to change the port.
    Have apache forward the traffic to tomcat.
    Something related with mod_jk maybe ?
    On my VPS I use nginx and forward (internally) the 8080 port to tomcat with no problem. That way you could browse the site normally i.e. without having somebody type the port number

  7. #7
    Join Date
    Apr 2008
    Location
    Tulsa, OK, USA
    Posts
    372
    You should be able to add something like:

    Code:
        <Connector executor="tomcatThreadPool"
                   port="80" address="66.160.197.250" protocol="HTTP/1.1"
                   connectionTimeout="20000"
                   redirectPort="443" />
    which should make tomcat listen on port 80. If you do that, make sure that nothing already is listening on 80 like apache httpd or nginx.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •