LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 02-03-2011, 03:42 AM   #1
shariqnitt
LQ Newbie
 
Registered: Feb 2011
Posts: 3

Rep: Reputation: 0
Question TomCat access in an Remote Linux Server


TomCat access in an Remote Linux Server

I installed the tomcat on remote server and its running fine. But the problem is , I am not able to see it from browser on my local system. when I do http://remote-server:8080/ Nothing is coming in my browser.

For cross checking this issue. I login to remote server and did : wget http://localhost:8080/ I got index.html and its saying the server is succefully installed.

Please let me know, whats the possible solution to this problem. Is there any firewall setting that dont allow to see it from browser ???

Last edited by shariqnitt; 02-11-2011 at 01:09 AM.
 
Old 02-04-2011, 01:24 AM   #2
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hello and Welcome to LinuxQuestions,

Did you configure Tomcat to listen on your external IP (WAN IP) or is it only listening on localhost (127.0.0.1) and is the router configured to redirect to the correct server for that port?

Kind regards,

Eric
 
1 members found this post helpful.
Old 02-10-2011, 03:21 AM   #3
shariqnitt
LQ Newbie
 
Registered: Feb 2011
Posts: 3

Original Poster
Rep: Reputation: 0
Hi EricTRA,
Hi,
I did not done any configuration.
I am running it with default configuration.
as I am new to TomCat, I dont know how to configure Tomcat to listen on your external IP.

please help me to configure the Tomcat to listen to specific set of IP addresses ONLY.
 
Old 02-10-2011, 04:43 AM   #4
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hello,

I imagine that your router is not configured to redirect port 8080 from your WAN IP to the TomCat server and that this is the reason why you can access locally but not remotely. Do you have access to your router? If so, configure it to forward all traffic on port 8080 to the IP and same port of your TomCat server.

Kind regards,

Eric
 
Old 02-11-2011, 12:58 AM   #5
shariqnitt
LQ Newbie
 
Registered: Feb 2011
Posts: 3

Original Poster
Rep: Reputation: 0
Smile

Hi EricTRA,
Thanks for your time.
I configure the Tomcat Itself to run on port 8983, its fine now
and now I am able to access it from my local machine.

Thanks one more time.
 
Old 02-11-2011, 01:10 AM   #6
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hello,

Glad you got a solution. If you consider your problem/question solved then please mark it as such using the Thread Tools.

Kind regards,

Eric
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How To setup remote access server on Red Hat Enterprise Linux Server release 5.1 bagra Linux - Newbie 5 10-19-2011 07:04 PM
Linux server remote access? hadimotamedi Linux - Newbie 3 01-27-2010 12:11 AM
Remote Access to a Red Hat 9 Linux Server Lordlava Linux - Newbie 5 03-20-2009 08:14 AM
Access remote ftp server through Linux Firewall sanjee Linux - Networking 3 07-14-2008 12:04 AM
Remote access to a Linux server? geoff27 Linux - General 2 09-02-2005 04:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration