|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
How can I test port status by telnet |
« View previous topic :: View next topic » |
Author |
Message
|
se_zn2003 |
Posted: Mon Dec 23, 2013 11:30 pm Post subject: How can I test port status by telnet |
|
|
 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 |
|
 |
fjb_saper |
Posted: Tue Dec 24, 2013 8:30 am Post subject: Re: How can I test port status by telnet |
|
|
 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 |
|
 |
bruce2359 |
Posted: Tue Dec 24, 2013 9:34 am Post subject: Re: How can I test port status by telnet |
|
|
 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 |
|
 |
fjb_saper |
Posted: Wed Dec 25, 2013 2:00 am Post subject: |
|
|
 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 |
|
 |
mqjeff |
Posted: Thu Dec 26, 2013 9:17 am Post subject: |
|
|
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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|