LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-12-2004, 06:54 AM   #1
dvong3
Member
 
Registered: Sep 2002
Posts: 168

Rep: Reputation: 30
Port won't Listen


I have 2 Linux box, AS 2.1 & AS 3. My AS 2.1 port 13782 is listening but my AS 3 is not. How do I troublshoot this networking issue?

dvong

# telnet linuxas 13782
Trying 198.33.160.91...
Connected to spain.
Escape character is '^]'.

Connection closed by foreign host.

[root@Canada netbackup]# telnet carott 13782
Trying 198.33.160.90...
telnet: Unable to connect to remote host: Connection refused
[root@Canada netbackup]#
 
Old 05-12-2004, 08:01 AM   #2
maxut
Senior Member
 
Registered: May 2003
Location: istanbul
Distribution: debian - redhat - others
Posts: 1,188

Rep: Reputation: 50
check if service works in carrott box.

#netstat -a |grep tcp
will show u net status for tcp ports. have a look if that service listens its port.

if it s ok, check firewall configuration.
 
Old 05-12-2004, 08:16 AM   #3
dvong3
Member
 
Registered: Sep 2002
Posts: 168

Original Poster
Rep: Reputation: 30
Thanks for the reply. There are no port listed for 13782. I have no firewall setup on my Linux. Any more clues?

[root@Canada root]# netstat -a |grep tcp
tcp 0 0 *:exec *:* LISTEN
tcp 0 0 *:kshell *:* LISTEN
tcp 0 0 *:32768 *:* LISTEN
tcp 0 0 *:login *:* LISTEN
tcp 0 0 *:8065 *:* LISTEN
tcp 0 0 *:32769 *:* LISTEN
tcp 0 0 *:nfs *:* LISTEN
tcp 0 0 *:shell *:* LISTEN
tcp 0 0 localhost.localdo:32777 *:* LISTEN
tcp 0 0 *:9098 *:* LISTEN
tcp 0 0 *:netbios-ssn *:* LISTEN
tcp 0 0 *:909 *:* LISTEN
tcp 0 0 *:sunrpc *:* LISTEN
tcp 0 0 Carott:1808 *:* LISTEN
tcp 0 0 *:x11 *:* LISTEN
tcp 0 0 *:http *:* LISTEN
tcp 0 0 Carott:1809 *:* LISTEN
tcp 0 0 *:1521 *:* LISTEN
tcp 0 0 Carottracle-em1 *:* LISTEN
tcp 0 0 *:ftp *:* LISTEN
tcp 0 0 *:ssh *:* LISTEN
tcp 0 0 *:telnet *:* LISTEN
tcp 0 0 localhost.localdoma:ipp *:* LISTEN
tcp 0 0 localhost.localdom:smtp *:* LISTEN
tcp 0 0 Canadaracle-em2 *:* LISTEN
tcp 0 0 *:bpjava-msvc *:* LISTEN
tcp 0 0 *:890 *:* LISTEN
tcp 0 0 *:https *:* LISTEN
tcp 0 0 *:8060 *:* LISTEN
tcp 0 0 *:microsoft-ds *:* LISTEN
tcp 0 0 *:klogin *:* LISTEN
tcp 0 0 localhost.localdoma:ipp localhost.localdo:32772 ESTABLISHED
tcp 0 0 Carott:1521 Canada:32808 ESTABLISHED
tcp 0 0 Carott::32808 Canada:1521 ESTABLISHED
tcp 0 0 localhost.localdo:32772 localhost.localdoma:ipp ESTABLISHED
tcp 0 48 Carott:ssh 199.33.100.139:3173 ESTABLISHED
tcp 0 0 Carott:ssh 199.33.100.104:4822 ESTABLISHED
tcp 0 0 Carott:ssh 199.33.100.104:4823 ESTABLISHED
[root@Carott root]
 
Old 05-12-2004, 08:25 AM   #4
maxut
Senior Member
 
Registered: May 2003
Location: istanbul
Distribution: debian - redhat - others
Posts: 1,188

Rep: Reputation: 50
i had a look at /etc/services
[root@egemen root]# cat /etc/services |grep 13782
bpcd 13782/tcp # VERITAS NetBackup
bpcd 13782/udp # VERITAS NetBackup


your service works on tcp port? if its so your service doesnt work.

have a look at logs. generally it says why it doesnt work.
try to restart it. and check it by netstat and ps commands.

#ps uax
 
Old 05-12-2004, 12:18 PM   #5
dvong3
Member
 
Registered: Sep 2002
Posts: 168

Original Poster
Rep: Reputation: 30
Yes, I have 13782 in my /etc/services. I found nothing in the log stating backup problem. I restart the service and even reboot the server, still not working and my "connection is still refuse (status 57)", vertias. My AS 2.1 had no problem but AS 3 is giving me headache.
 
  


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
Port 80 listen without WebServer? hacinn Linux - Security 5 06-30-2004 09:52 PM
Can vsftpd listen to another port? twelve Linux - Networking 9 05-05-2004 08:13 PM
How to make a program to listen on a Particular port palanisaravanan Linux - General 4 04-14-2004 06:43 PM
how to change wu-ftp listen port? jamil5454 Linux - Networking 3 01-05-2004 07:07 AM
Need help fast. How do I get sendmail to listen on port 25? 360 Linux - Networking 6 05-21-2002 11:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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