LinuxQuestions.org
Help answer threads with 0 replies.
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 03-01-2009, 11:26 AM   #16
peeths003
Member
 
Registered: Jun 2008
Distribution: Fedora 12 i686, Debian 5.0.1 i686, Fedora 14 x86_64, Debian Lenny 5.0.1x86_64 and CentOS_5.4_x86-64
Posts: 311

Original Poster
Rep: Reputation: 32

Sorry guys, was out for vaccation ...............


these are the outputs of the commands

Quote:
[root@localhost ~]# netstat -tnalp|grep -i 8080
tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 5112/java
Quote:
[root@localhost ~]# netstat -tnalp|grep -i java
tcp 0 0 0.0.0.0:3873 0.0.0.0:* LISTEN 5112/java
tcp 0 0 0.0.0.0:36897 0.0.0.0:* LISTEN 5112/java
tcp 0 0 0.0.0.0:1090 0.0.0.0:* LISTEN 5112/java
tcp 0 0 0.0.0.0:4712 0.0.0.0:* LISTEN 5112/java
tcp 0 0 0.0.0.0:8009 0.0.0.0:* LISTEN 5112/java
tcp 0 0 0.0.0.0:4713 0.0.0.0:* LISTEN 5112/java
tcp 0 0 0.0.0.0:4457 0.0.0.0:* LISTEN 5112/java
tcp 0 0 127.0.0.1:52138 0.0.0.0:* LISTEN 5112/java
tcp 0 0 0.0.0.0:1098 0.0.0.0:* LISTEN 5112/java
tcp 0 0 0.0.0.0:1099 0.0.0.0:* LISTEN 5112/java
tcp 0 0 0.0.0.0:45165 0.0.0.0:* LISTEN 5112/java
tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 5112/java
tcp 0 0 0.0.0.0:8083 0.0.0.0:* LISTEN 5112/java
tcp 0 0 0.0.0.0:4444 0.0.0.0:* LISTEN 5112/java
tcp 0 0 0.0.0.0:4445 0.0.0.0:* LISTEN 5112/java
tcp 0 0 0.0.0.0:4446 0.0.0.0:* LISTEN 5112/java

Some firewall issue is there ..........
 
Old 03-11-2009, 05:16 AM   #17
peeths003
Member
 
Registered: Jun 2008
Distribution: Fedora 12 i686, Debian 5.0.1 i686, Fedora 14 x86_64, Debian Lenny 5.0.1x86_64 and CentOS_5.4_x86-64
Posts: 311

Original Poster
Rep: Reputation: 32
Hey ........... i was able to tunnel the http request to the port 8080
by editing the iptables in sysconfig.

i,e. vi /et
 
Old 03-11-2009, 05:17 AM   #18
peeths003
Member
 
Registered: Jun 2008
Distribution: Fedora 12 i686, Debian 5.0.1 i686, Fedora 14 x86_64, Debian Lenny 5.0.1x86_64 and CentOS_5.4_x86-64
Posts: 311

Original Poster
Rep: Reputation: 32
Hey ........... i was able to tunnel the http request to the port 8080
by editing the iptables in sysconfig.

i,e. vi /etc/sysconfig/iptables and add the following line

Quote:
-A INPUT -p tcp -m tcp --dport 8080 -j ACCEPT
 
Old 07-14-2011, 12:26 PM   #19
thatishari
LQ Newbie
 
Registered: Sep 2009
Posts: 11

Rep: Reputation: 1
Hi Guys,

I think i am once again adding a thread to this post after a long gap... ok here is my issue in our development box we are configured postgresql to work with Jboss. The thing is we have firewall iptables in our linux box. when the iptables is stopped we can connect the postgres db locally using -h option, also we can connect thru a weblink we have created using Jboss. But when the iptables is started we can't connect the db locally using the -h option and the web is giving the below error.

Caused by: org.postgresql.util.PSQLException: Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
at org.postgresql.core.v3.ConnectionFactoryImpl.openC onnectionImpl(ConnectionFactoryImpl.java:136)
at org.postgresql.core.ConnectionFactory.openConnecti on(ConnectionFactory.java:66)
at org.postgresql.jdbc2.AbstractJdbc2Connection.<init >(AbstractJdbc2Connection.java:125)
at org.postgresql.jdbc3.AbstractJdbc3Connection.<init >(AbstractJdbc3Connection.java:30)
at org.postgresql.jdbc3.Jdbc3Connection.<init>(Jdbc3C onnection.java:24)
at org.postgresql.Driver.makeConnection(Driver.java:3 93)
at org.postgresql.Driver.connect(Driver.java:267)
at org.jboss.resource.adapter.jdbc.local.LocalManaged ConnectionFactory.getLocalManagedConnection(LocalM anagedConnectionFactory.java:207).

We have defined the postgres,Jboss ports plus all the ports in the start up error logs in the iptables still same issue persists. I have also attached the iptables and Jboss startup error logs which is because of the postgres db.
Attached Files
File Type: txt iptables.txt (3.0 KB, 17 views)
File Type: txt Jboss_startup_failure-1.txt (35.0 KB, 20 views)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
access 8080 web server port through squid running on 8080 sunethj Linux - Networking 11 05-18-2007 03:38 AM
debian iptables squid - redirect port 80 to port 8080 on another machine nickleus Linux - Networking 1 08-17-2006 01:59 AM
JBoss Web Port Conflict with Oracle EMS Port fortezza Programming 1 05-21-2006 08:02 PM
Port 80-->8080?? flamesrock Linux - Software 4 08-01-2004 02:40 AM
firewall.rc.config says :"open port 8080" but nmap says port is closed saavik Linux - Security 2 02-14-2002 01:16 PM

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

All times are GMT -5. The time now is 12:17 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