Please show the full error that is seen.
To change the port, please follow the instructions here. Remember though you CANNOT make the port the same number that is used by the queue manager's TCP/IP listener. Port 1416 sounds very much like a queue manager listener port and not an HTTP port.
Cheers,
Morag
------------------------------
Morag Hughson
MQ Technical Education Specialist
MQGem Software Limited
Website:
https://www.mqgem.com------------------------------
Original Message:
Sent: Fri October 14, 2022 04:41 AM
From: Kunal Chadha
Subject: New to MQ Rest API
At 9443 port from application side they are getting connection refused
can you please let me know how to create a new URL with port 1416 or 9443
From my vdi i have to make connections to MQ server having MQ rest API
------------------------------
Kunal Chadha
------------------------------
Original Message:
Sent: Thu October 13, 2022 10:55 PM
From: Morag Hughson
Subject: New to MQ Rest API
I would advise against running your MQ web server listening to port 1414. That is a port usually used for MQ channels to connect to, not web connections. If you have an MQ listener already using port 1414 it would not be able to accept web requests on that port as well. The default port number that you are using for your https connection, port 9443 should work fine.
What kind of error is your application getting when it tries to put messages via the REST API? What URL are you using to do the put of messages from your application.
Cheers,
Morag
------------------------------
Morag Hughson
MQ Technical Education Specialist
MQGem Software Limited
Website: https://www.mqgem.com