|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
changing the default port |
« View previous topic :: View next topic » |
Author |
Message
|
mqseries |
Posted: Sun Jun 30, 2002 5:35 pm Post subject: changing the default port |
|
|
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 |
|
 |
kirani |
Posted: Sun Jun 30, 2002 6:29 pm Post subject: |
|
|
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 |
|
 |
glen |
Posted: Mon Jul 01, 2002 3:17 am Post subject: |
|
|
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 |
|
 |
mrlinux |
Posted: Mon Jul 01, 2002 11:26 am Post subject: |
|
|
 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 |
|
 |
|
|
 |
|
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
|
|
|
|