Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Tomcat on Linux Platform

Reply
Thread Tools

Tomcat on Linux Platform

 
 
mania
Guest
Posts: n/a
 
      02-11-2006
Hello,

I have installed tomcat 5.5.15 on Fedora Core 3 , it is
running on the host but when i want to access it from remote machine
using IP address of server ( host on which tomcat is running ) it is
showing the error. The error is Gateway could not retrive the page. Can
anybody suggest me that how to do that?? I used the defult port 8080.
http://ip:8080/ is this the right way to do ? It is working
on windows platform.



regards.




 
Reply With Quote
 
 
 
 
tom fredriksen
Guest
Posts: n/a
 
      02-11-2006
mania wrote:
> Hello,
>
> I have installed tomcat 5.5.15 on Fedora Core 3 , it is
> running on the host but when i want to access it from remote machine
> using IP address of server ( host on which tomcat is running ) it is
> showing the error. The error is Gateway could not retrive the page. Can
> anybody suggest me that how to do that?? I used the defult port 8080.


Generally that is the way to do it.

Does it work from the local machine or across a network? do you have a
local firewall or a router w/firewall in between? You can also check the
catalina log file so see whether tomcat receives a request at all.

/tom
 
Reply With Quote
 
 
 
 
none
Guest
Posts: n/a
 
      02-11-2006
tom fredriksen wrote:
> mania wrote:
>
>> Hello,
>>
>> I have installed tomcat 5.5.15 on Fedora Core 3 , it is
>> running on the host but when i want to access it from remote machine
>> using IP address of server ( host on which tomcat is running ) it is
>> showing the error. The error is Gateway could not retrive the page. Can
>> anybody suggest me that how to do that?? I used the defult port 8080.

>
>
> Generally that is the way to do it.
>
> Does it work from the local machine or across a network? do you have a
> local firewall or a router w/firewall in between? You can also check the
> catalina log file so see whether tomcat receives a request at all.
>
> /tom

double check tomcat's server.xml for the configuration of the host
element, as it may be listening on localhost or 127.0.0.1 and won't be
accessible from a remote machine. If so, change this to the domain name/
public ip of the box.

Tim
 
Reply With Quote
 
ossie.moore@gmail.com
Guest
Posts: n/a
 
      02-12-2006
Most likely, yoru Linux box is doing what any self-respecting OS should
do, protect its self from intruders. The reason you can't access it
from a remote machine is that your firewall is preventing remote users
from accessing your machine.

To fix this, just open TCP port 8080. The firewall gui till is
available from the menu, but i'm not on FC3 anymore, but you can launch
the gui program from the command line by running the...
redhat-config-securitylevel ...command.

 
Reply With Quote
 
mania
Guest
Posts: n/a
 
      02-13-2006
Thanks.
I disabled the firewall settings from system settings-> security
level of FC3 and now its working.

 
Reply With Quote
 
mania
Guest
Posts: n/a
 
      02-13-2006
Thanks.
I disabled the firewall settings from system settings-> security
level of FC3 and now its working.

 
Reply With Quote
 
Nigel Wade
Guest
Posts: n/a
 
      02-13-2006
mania wrote:

> Thanks.
> I disabled the firewall settings from system settings-> security
> level of FC3 and now its working.


That's a big mistake unless your system is on a private network. The firewall is
there to protect it from the big, bad, world.

You really ought to learn how to open ports in the firewall.

--
Nigel Wade, System Administrator, Space Plasma Physics Group,
University of Leicester, Leicester, LE1 7RH, UK
E-mail :
Phone : +44 (0)116 2523548, Fax : +44 (0)116 2523555
 
Reply With Quote
 
mania
Guest
Posts: n/a
 
      02-16-2006
Thanks Nigel for your suggestion. I opened the default port for tomcat
which is 8080.

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Connecting Win98 platform to WinXP Pro platform dancesportboston Wireless Networking 1 09-02-2006 10:36 PM
does java program run on 64-bit platform as fast as on 32-bit platform jcc Java 15 05-12-2006 08:52 AM
New Windows platform and 64 bit platform =?Utf-8?B?T21hciBLaGFu?= Windows 64bit 12 11-30-2005 11:05 PM
platform.rb (was: PLATFORM tests) Kaspar Schiess Ruby 0 11-25-2005 07:59 AM
How can I convert the C6.0 program of OS/2 platform TO a program in windows2000/xp platform? Coca C Programming 15 01-14-2004 04:44 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57