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 » changing the default port

Post new topic  Reply to topic
 changing the default port « View previous topic :: View next topic » 
Author Message
mqseries
PostPosted: Sun Jun 30, 2002 5:35 pm    Post subject: changing the default port Reply with quote

Newbie

Joined: 29 Jun 2002
Posts: 4

How do I change the default port for a new Q manager.
An example of what I am currently doing is below. Is this the way to go. I am working on solaris and windows.



example of what I am currently doing
crtmqm MYQMGR
runmqlsr -t tcp -m MYQMGR -p NEWPORT

This does not seem to work. When I use amqsput it has problem finding the queue unless it defined as a DEFAULT QUEUE using port 1414.
Back to top
View user's profile Send private message
kirani
PostPosted: Sun Jun 30, 2002 6:29 pm    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

On Windows platform, Open MQSeries Snap-in, click on your listner and select Properties. Under parameters tab, change the port number.

On solaris, change port number in file /etc/services
_________________
Kiran


IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries

Back to top
View user's profile Send private message Visit poster's website
glen
PostPosted: Mon Jul 01, 2002 3:17 am    Post subject: Reply with quote

Novice

Joined: 05 Jun 2002
Posts: 13
Location: Dublin, Ireland.

(For NT) most commonly using TCP/IP, you also need to set the global environment variable on the client.

set MQSERVER=channelname/transport-type/connectionname(port)

where
channelname is the name of the server connection channel
transport-type is TCP
server-address is the ip address of the mq server
port is the alternate listener port you are using
* not specifying the port defaults to the standard port, 1414.

for example, set MQSERVER=S_TESTmq/TCP/10.0.0.1(1420)

note: the servername IS case sensitive - amqsgetc / putc will fail if this is not correct.

check your variable is correct by typing ECHO %MQSERVER% at a command prompt after setting the variable.
Back to top
View user's profile Send private message
mrlinux
PostPosted: Mon Jul 01, 2002 11:26 am    Post subject: Reply with quote

Grand Master

Joined: 14 Feb 2002
Posts: 1261
Location: Detroit,MI USA

You list the amqsput program which is a server program and doesnt need the listener to run. amqsputc is the client version, and as stated before if
you are using clients your MQSERVER variable has to have the new port
number in it.
_________________
Jeff

IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries
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 » IBM MQ Installation/Configuration Support » changing the default port
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.