1752579 Members
4321 Online
108788 Solutions
New Discussion юеВ

Re: Port issue

 
SOLVED
Go to solution
Rahul Pednekar
Frequent Advisor

Port issue

Dear all

I'm not able to telnet to port no. 8005 of my server. if i try from server 'A'
#telnet 192.16.7.108 8005

I get a message that its connected but when I issue the same command for the server 'B' i.e.
# telnet 192.16.6.116 8005

I get a message 'could not connect the host'
for your information both are application servers and recently i have changed the IP address of server 'B' using 'setparms' I have also checked the '/etc/services' and i found it that nothing is commented in it.

please assist guyz!
15 REPLIES 15
mirco_1
Valued Contributor
Solution

Re: Port issue

hi,

the ip is the real?

because is different sublan.

The gatway is ok?

DM
Kent Ostby
Honored Contributor

Re: Port issue

Try just doing a "regular telnet" to that same IP from server B. Does that get you a login prompt?

"Well, actually, she is a rocket scientist" -- Steve Martin in "Roxanne"
John Dvorchak
Honored Contributor

Re: Port issue

I will assume that you used to telnet to port 8005 before the IP change on "B". Can you ping the new IP address? Please send us the output from the "B" system:

netstat -rn
ifconfig lan0

lan0 assumes that is the active LAN, the netstat -rn will also list the interface number.
If it has wheels or a skirt, you can't afford it.
Arunvijai_4
Honored Contributor

Re: Port issue

Hello,

Could you able to ping to Server 'B' ? Also, doing a traceroute may help.

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
paolo barila
Valued Contributor

Re: Port issue

Try also from the server B to itself

serverB# telnet 192.16.6.116 8005

to check if you have a daemon listening there.


Pablo
share share share
Rahul Pednekar
Frequent Advisor

Re: Port issue

Hi All
Thanks for the replies. to understand, bith the servers are in diffrent sublan also i can ping and telnet to each other too. I have changed the ip address of server 'B' and i did not reboot the server. also the server has port aggregation set. one more thing while loading the application the app asks the port 8005/9005 to be opened. once again I'm able to telnet server port 'A' to itself but not 'B' the command i use is
# telnet 192.16.7.116 8005

please assist.

Thanks...
Rahul
Arunvijai_4
Honored Contributor

Re: Port issue

Hi Rahul,

First of all, after changing your IP address manually, could you able to ping from any other machines ? Did you add the static route ? Is routing table updated ? Check these stuffs first before proceeding to telnet.

-Arun

P.S: Remember to assign points.
"A ship in the harbor is safe, but that is not what ships are built for"
Muthukumar_5
Honored Contributor

Re: Port issue

Can you check this?

Machine A:

grep 8005 /etc/services
telnet localhost 8005
telnet machineB 8005

Machine B:

grep 8005 /etc/services
telnet localhost 8005
telnet machineA 8005

what you are getting for this?

--
Muthu
Easy to suggest when don't know about the problem!
Rahul Pednekar
Frequent Advisor

Re: Port issue

Hi all
thanks for reply..

How do i check the static route and routing table? please give me the command.

there is no find anything like 8005 in /etc/sevices. on both the servers.

Thnaks in advance..

will surely assign points....:)