Results 1 to 7 of 7
-
06-13-2009, 06:02 PM #1New Member
- Join Date
- Jun 2009
- Posts
- 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
-
06-13-2009, 07:28 PM #2Web Hosting Master
- 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
-
06-18-2009, 12:49 AM #3WebHostingTalk Lover
- 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 ...
-
07-30-2009, 05:51 AM #4New Member
- Join Date
- Jul 2009
- Posts
- 1
-
07-30-2009, 09:59 AM #5Web Hosting Master
- Join Date
- Apr 2004
- Location
- Pacific Palisades, CA
- Posts
- 3,641
█ 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
-
07-30-2009, 12:18 PM #6Newbie
- Join Date
- Apr 2009
- Location
- Canada
- Posts
- 28
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
-
07-30-2009, 05:03 PM #7Aspiring Evangelist
- 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" />