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 » General IBM MQ Support » Channel attributes CONNAME

Post new topic  Reply to topic
 Channel attributes CONNAME « View previous topic :: View next topic » 
Author Message
kun.leeing
PostPosted: Sat Nov 30, 2013 5:52 pm    Post subject: Channel attributes CONNAME Reply with quote

Disciple

Joined: 27 Sep 2008
Posts: 171

Hi masters,

For the channel atribete CONNAME, when the value is without port number like '192.168.1.1' added, 'cause I know most of them should be like 'ip(port)', does it mean it uses 1414 as the default port?

Thanks in advance.
Back to top
View user's profile Send private message Send e-mail
PaulClarke
PostPosted: Sat Nov 30, 2013 10:09 pm    Post subject: Reply with quote

Grand Master

Joined: 17 Nov 2005
Posts: 1002
Location: New Zealand

Well, often that is what you end up with but it's not quite as simple as that. MQ will using the following search order for the port.

1. Any port number in the CONNAME. eg MYHOST(2345)
2. The default port specified for the QM in the QM.INI file (if any)
3. The value for service 'MQSeries' in the TCP services file (ie. response from getservbyname())
4. and, if all else fails, 1414

Hope this helps,

Paul.
_________________
Paul Clarke
MQGem Software
www.mqgem.com
Back to top
View user's profile Send private message Visit poster's website
kun.leeing
PostPosted: Sat Nov 30, 2013 10:50 pm    Post subject: Reply with quote

Disciple

Joined: 27 Sep 2008
Posts: 171

Thanks a million, Paul.

That's very kind of you.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Channel attributes CONNAME
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.