Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to open port? 2

Status
Not open for further replies.

coolice

Technical User
Jul 19, 2000
13
SA
Hi!

i'm encountering error connecting from my server to a client on specific port. I issued "telnet <client_name> 13782" and gave me "could not open connection to host on port 13782", but connecting from client to server over the same port is ok. I would like to know how to open that port on the client side.

Appreciate your help. Thanks.
 
hi dvong3 ,

what is bpjava-msvc ? is not that running on the port 13782 ?
do a "grep 13782 /etc/services" to looks for a conflict.
lsof -i will be more explicit then netstat.

hi Irangelaz ,

re-read this thread.
If you are sure it's not a router problem, netstat -a will show you if port 25 is on a listening state on you system. if not launch your sendmail server.
 
Not sure what it is...but it belongs to veritas port probably GUI management when I install the veritas client. It also included 2 xinetd functions, bpcd & bpjava-msvc...i think. I did not find any ports conflicting with 13782. Here is the output for lsof -i.


/etc/services
bprd 13720/tcp # BPRD (VERITAS NetBackup)
bprd 13720/udp # BPRD (VERITAS NetBackup)
bpdbm 13721/tcp # BPDBM (VERITAS NetBackup)
bpdbm 13721/udp # BPDBM (VERITAS NetBackup)
bpjava-msvc 13722/tcp # BP Java MSVC Protocol
bpjava-msvc 13722/udp # BP Java MSVC Protocol
vnetd 13724/tcp # Veritas Network Utility
vnetd 13724/udp # Veritas Network Utility
bpcd 13782/tcp # VERITAS NetBackup
bpcd 13782/udp # VERITAS NetBackup
vopied 13783/tcp # VOPIED Protocol
vopied 13783/udp # VOPIED Protocol

[root@Canada xinetd.d]# cat bpcd
bpcd File

# description: BPCD server

service bpcd
{
disable = no
id = bpcd-stream
socket_type = stream
protocol = tcp
user = root
wait = no
server = /usr/openv/netbackup/bin/bpcd
}
[root@Canada xinetd.d]# cat bpjava-msvc
#description: bpjava-msvc server

service bpjava-msvc
{
disable = no
id = bpjava-msvc-stream
socket_type = stream
protocol = tcp
user = root
wait = no
server = /usr/openv/netbackup/bin/bpjava-msvc
server_args = -transient
}

[root@Canada xinetd.d]#


[root@Canada xinetd.d]# chkconfig --list |grep bpcd
bpcd: on
[root@Canada xinetd.d]# chkconfig --list |grep bpjava-msvc-stream
[root@Canada xinetd.d]# chkconfig --list |grep bpjava-msvc
bpjava-msvc: on
[root@Canada xinetd.d]#
 
[root@Canada xinetd.d]# lsof -i
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
portmap 494 rpc 3u IPv4 1072 UDP *:sunrpc
portmap 494 rpc 4u IPv4 1075 TCP *:sunrpc (LISTEN)
rpc.statd 513 rpcuser 4u IPv4 1110 UDP *:32768
rpc.statd 513 rpcuser 5u IPv4 1099 UDP *:689
rpc.statd 513 rpcuser 6u IPv4 1117 TCP *:32768 (LISTEN)
cupsd 613 root 0u IPv4 1351 TCP localhost.localdomain:ipp (LISTEN)
cupsd 613 root 2u IPv4 1352 UDP *:ipp
cupsd 613 root 3u IPv4 2555 TCP localhost.localdomain:ipp->localhost.localdomain:32773 (ESTABLISHED)
sshd 669 root 3u IPv4 1370 TCP *:ssh (LISTEN)
xinetd 683 root 5u IPv4 1437 TCP *:bpjava-msvc (LISTEN)
xinetd 683 root 6u IPv4 1438 TCP *:klogin (LISTEN)
xinetd 683 root 8u IPv4 1439 TCP *:kshell (LISTEN)
xinetd 683 root 9u IPv4 1440 TCP *:exec (LISTEN)
xinetd 683 root 10u IPv4 1441 TCP *:login (LISTEN)
xinetd 683 root 11u IPv4 1442 TCP *:shell (LISTEN)
xinetd 683 root 12u IPv4 1443 TCP *:9098 (LISTEN)
xinetd 683 root 13u IPv4 1444 TCP localhost.localdomain:32769 (LISTEN)
xinetd 683 root 14u IPv4 1767 TCP *:telnet (LISTEN)
xinetd 683 root 15u IPv4 1768 UDP *:tftp
ntpd 693 ntp 4u IPv4 1433 UDP *:ntp
ntpd 693 ntp 5u IPv4 1434 UDP localhost.localdomain:ntp
ntpd 693 ntp 6u IPv4 1435 UDP Canada:ntp
rpc.rquot 716 root 3u IPv4 1616 UDP *:893
rpc.rquot 716 root 4u IPv4 1622 TCP *:896 (LISTEN)
rpc.mount 735 root 3u IPv4 1664 UDP *:911
rpc.mount 735 root 4u IPv4 1667 TCP *:914 (LISTEN)
vsftpd 745 root 3u IPv4 1739 TCP *:ftp (LISTEN)
sendmail 766 root 4u IPv4 1784 TCP localhost.localdomain:smtp (LISTEN)
httpd 795 root 3u IPv4 1833 TCP *:http (LISTEN)
httpd 795 root 4u IPv4 1835 TCP *:https (LISTEN)
httpd 843 apache 3u IPv4 1833 TCP *:http (LISTEN)
httpd 843 apache 4u IPv4 1835 TCP *:https (LISTEN)
httpd 844 apache 3u IPv4 1833 TCP *:http (LISTEN)
httpd 844 apache 4u IPv4 1835 TCP *:https (LISTEN)
httpd 845 apache 3u IPv4 1833 TCP *:http (LISTEN)
httpd 845 apache 4u IPv4 1835 TCP *:https (LISTEN)
httpd 846 apache 3u IPv4 1833 TCP *:http (LISTEN)
httpd 846 apache 4u IPv4 1835 TCP *:https (LISTEN)
httpd 847 apache 3u IPv4 1833 TCP *:http (LISTEN)
httpd 847 apache 4u IPv4 1835 TCP *:https (LISTEN)
httpd 848 apache 3u IPv4 1833 TCP *:http (LISTEN)
httpd 848 apache 4u IPv4 1835 TCP *:https (LISTEN)
httpd 849 apache 3u IPv4 1833 TCP *:http (LISTEN)
httpd 849 apache 4u IPv4 1835 TCP *:https (LISTEN)
httpd 850 apache 3u IPv4 1833 TCP *:http (LISTEN)
httpd 850 apache 4u IPv4 1835 TCP *:https (LISTEN)
smbd 851 root 12u IPv4 1931 TCP *:microsoft-ds (LISTEN)
smbd 851 root 13u IPv4 1932 TCP *:netbios-ssn (LISTEN)
nmbd 855 root 6u IPv4 1935 UDP *:netbios-ns
nmbd 855 root 7u IPv4 1936 UDP *:netbios-dgm
nmbd 855 root 8u IPv4 1938 UDP Canada:netbios-ns
nmbd 855 root 9u IPv4 1939 UDP Canada:netbios-dgm
appxd 913 root 3u IPv4 2025 TCP *:8060 (LISTEN)
appxd 916 root 3u IPv4 2031 TCP *:8065 (LISTEN)
X 944 root 1u IPv4 2071 TCP *:x11 (LISTEN)
fam 1040 root 0u IPv4 1444 TCP localhost.localdomain:32769 (LISTEN)
fam 1040 root 1u IPv4 1444 TCP localhost.localdomain:32769 (LISTEN)
fam 1040 root 2u IPv4 1444 TCP localhost.localdomain:32769 (LISTEN)
eggcups 1058 root 14u IPv4 2554 TCP localhost.localdomain:32773->localhost.localdomain:ipp (ESTABLISHED)
tnslsnr 1305 oracle 8u IPv4 5445 TCP *:1521 (LISTEN)
tnslsnr 1305 oracle 10u IPv4 6577 TCP Canada:1521->Canada:32789 (ESTABLISHED)
dbsnmp 1311 oracle 10u IPv4 5495 TCP Canada:eek:racle-em1 (LISTEN)
dbsnmp 1311 oracle 11u IPv4 5496 TCP Canada:eek:racle-em2 (LISTEN)
dbsnmp 1311 oracle 16u IPv4 5498 TCP Canada:1808 (LISTEN)
dbsnmp 1311 oracle 21u IPv4 5499 TCP Canada:1809 (LISTEN)
oracle 1348 oracle 12u IPv4 6548 UDP localhost.localdomain:32771
oracle 1348 oracle 14u IPv4 6576 TCP Canada:32789->Canada:1521 (ESTABLISHED)
in.telnet 1744 root 0u IPv4 141520 TCP Canada:telnet->156.39.101.22:33082 (ESTABLISHED)
in.telnet 1744 root 1u IPv4 141520 TCP Canada:telnet->156.39.101.22:33082 (ESTABLISHED)
in.telnet 1744 root 2u IPv4 141520 TCP Canada:telnet->156.39.101.22:33082 (ESTABLISHED)
[root@Canada xinetd.d]#
 
hey raztaboule...you're right on the money. Its the bpcd file. I should cancel my web support with Red Hat and use tek-tips:) Thanks again.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top