ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » How can I test port status by telnet

Post new topic  Reply to topic
 How can I test port status by telnet « View previous topic :: View next topic » 
Author Message
se_zn2003
PostPosted: Mon Dec 23, 2013 11:30 pm    Post subject: How can I test port status by telnet Reply with quote

Apprentice

Joined: 07 May 2013
Posts: 30

I want telnet to an IP port by using message broker to know is establish or not?
Back to top
View user's profile Send private message Send e-mail
fjb_saper
PostPosted: Tue Dec 24, 2013 8:30 am    Post subject: Re: How can I test port status by telnet Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

se_zn2003 wrote:
I want telnet to an IP port by using message broker to know is establish or not?

I understand that English is not your first language but you will need to be way more specific.

If it has to be an automated process, you will not be able to use telnet to check for connectivity, but I am sure there are a number of programs or functions/classes that can be used to programmatically set up a connection, test it and close it...

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
bruce2359
PostPosted: Tue Dec 24, 2013 9:34 am    Post subject: Re: How can I test port status by telnet Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

fjb_saper wrote:
If it has to be an automated process, you will not be able to use telnet to check for connectivity...

Telnet is a console-driven utility, and as such expects to interact with the console operator.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Dec 25, 2013 2:00 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

This said a quick google would have given you the command form:
Code:
telnet hostname port
or telnet hostip port

_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Thu Dec 26, 2013 9:17 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

You would have to use the JobExecution node from the supportPac to execute a command line program.

Or use a JavaCompute or .NETCompute node to call out a shell.

But all telnet does is send raw (text-based) TCP/IP packets, so it's not clear why you can't use the TCPIP nodes.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » How can I test port status by telnet
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.