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
    Apr 2004
    Location
    Pacific Palisades, CA
    Posts
    3,641
    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?
    Collabora Hosting - Unlimited Windows and Linux Hosting
    Web Security - VPS - Dedicated Servers
    Cloud and Managed WordPress Hosting
    Read how we do Unlimited Hosting at the Unlimited FAQ

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

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

    Good luck!
    █• Taskade - To-Do List & Tasks All-in-One To-Do List & Mind Map App for Remote Teams
    █• Simple and shareable to-do lists for web, mobile, and desktop
    █• To-Do List Templates 300+ shareable templates and productivity workflows
    █• Get things done, faster and smarter! 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
    Apr 2004
    Location
    Pacific Palisades, CA
    Posts
    3,641
    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.
    Collabora Hosting - Unlimited Windows and Linux Hosting
    Web Security - VPS - Dedicated Servers
    Cloud and Managed WordPress Hosting
    Read how we do Unlimited Hosting at the Unlimited FAQ

  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
    376
    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
  •