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 » port no problem.

Post new topic  Reply to topic
 port no problem. « View previous topic :: View next topic » 
Author Message
jpeela
PostPosted: Thu Aug 03, 2006 8:20 am    Post subject: port no problem. Reply with quote

Centurion

Joined: 23 Jan 2006
Posts: 139

hi evry one,

I want some clarification regarding the port no,s used and that not used in mq.

I am using MQ6.0 on RHEl 4 system.I created a queuemanager and created a listener with port no "1010" .BUt i found the listener not running.Recently installed DB2 on this system.could this have caused any problem or is there any thing else that uses this port no.
I dont even have any other apllications running like WAS or PORTAL.

I even tried netstat to find if any other application is listening on this port no. but i did not find one.So what could have caused this problem.orelse is anyone else have the same problem.this appears to be strange for me.I never came across such problem.
any clarifications or suggesions.
thanx in advance.
_________________
Jogi
Back to top
View user's profile Send private message AIM Address Yahoo Messenger
jefflowrey
PostPosted: Thu Aug 03, 2006 8:22 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Is 1010 still in the range of ports that require root to start? Doesn't that go up to 1024?

Did you create the listener in MQSC/Explorer, or using runmqlsr? If in mqsc, did you specify that the CONTROL of the listener was QMGR, or did you leave it at the default of MANUAL?
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
jpeela
PostPosted: Thu Aug 03, 2006 8:51 am    Post subject: Reply with quote

Centurion

Joined: 23 Jan 2006
Posts: 139

thanx jeff,

that clarifies my query.
I have learnt from my seniours that we can give port no's ranging below 65534.
i learn that now we cant give port no's less than 1024.But can i have some more clarifications that whether we can use these port no,s on windows and other OS.
and i have read it from a source that we can specify the range in qm.ini file.

In MQSeries V5.2 and WebSphere MQ, you can to specify a range of TCP/IP ports to be used by an outbound channel. One method is to use the qm.ini file to specify the start and end of a range of port values.

The example below shows a qm.ini file specifying a range of channels:

TCP:
StrPort=2500
EndPort=3000
CHANNELS:
MaxChannels=200
MaxActiveChannels=100

[/i][/b]

So can we specify the port numbers less than 1024, if so why.
I ask this because i did not get the range of ports that we can use any where else.

thanx in advance.
_________________
Jogi
Back to top
View user's profile Send private message AIM Address Yahoo Messenger
jefflowrey
PostPosted: Thu Aug 03, 2006 9:26 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

The listener can only bind to one port, not to a range of ports.

An outbound (sender,serverconnection,clussdr, requester) channel can set the address on it's side to one port in a RANGE of ports.

UNIX has a security mechanism that says that the "low numbered" ports can't be opened for listening by any user other than root. I think (but am not willing to look up for you) that this range is from 1 to 1024. Ask your Unix administrator.

IBM has registered the port number 1414 with the appropriate regulating bodies as the default "well-known" port for WebSphere MQ.

Port numbers can not be any larger than 65534 because of the limits in the specification.

You can pick and use any port you want. If you pick some one else's well known port (like, for example, 443 or 1521), you may get connection attempts that you aren't expecting.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
jpeela
PostPosted: Thu Aug 03, 2006 9:52 am    Post subject: Reply with quote

Centurion

Joined: 23 Jan 2006
Posts: 139

thanx jefflowery,
that is really cool stuff what im looking for.I got answers for my queries.And let me know this also. if low port numbers is a security isue on unix.What bout windows and other OS.Should that work fine there.
_________________
Jogi
Back to top
View user's profile Send private message AIM Address Yahoo Messenger
vennela
PostPosted: Thu Aug 03, 2006 12:22 pm    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

In whatever OS, for MQ, start with 1414 and work upwards. That's a good practice. For example if you have two QMGRs then use 1414 and 1415 ....
Back to top
View user's profile Send private message Send e-mail Visit poster's website
jpeela
PostPosted: Fri Aug 04, 2006 4:34 am    Post subject: Reply with quote

Centurion

Joined: 23 Jan 2006
Posts: 139

thanq vennela,
for ur suggesion,but just for information sake can we do so on other OS.

thanx in advance
_________________
Jogi
Back to top
View user's profile Send private message AIM Address Yahoo Messenger
tleichen
PostPosted: Fri Aug 04, 2006 12:16 pm    Post subject: Reply with quote

Yatiri

Joined: 11 Apr 2005
Posts: 663
Location: Center of the USA

You may want to take a gander at the following list. Port number assignment is not just a random number choice.

http://www.iana.org/assignments/port-numbers
_________________
IBM Certified MQSeries Specialist
IBM Certified MQSeries Developer
Back to top
View user's profile Send private message
jpeela
PostPosted: Mon Aug 07, 2006 4:58 am    Post subject: Reply with quote

Centurion

Joined: 23 Jan 2006
Posts: 139

hi tleichen,

that was a cool stuff.
I did not knew of this previously.
that answered me well.

thanx a lot tleichen
_________________
Jogi
Back to top
View user's profile Send private message AIM Address Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » port no problem.
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.