Specify remote server port for HTTP(S) Post & Get using EG91-EX

I am using HTTP(S)_AT_COMMANDS_MANUAL & SSL_AT_COMMANDS_MANUAL to test and evaluate EG91-EX for HTTP(S) GET & POST.
It is going mostly OK so far.
Our application requires me to specify a particular remote sever port to GET and POST to.
How can I specify the port when using HTTP(S) please?


Dear Twilson,
Thanks for your inquiry in Quectel forum.
For your issue, you can specify the IP address and port in your URL. Thanks!

Perfect, Thanks!
Just to clarify…
If the URL starts with https:// the modem will use port 443 by default?
If the URL starts with http:// the modem will use port 80 by default?

The module use which port depends on your URL server. I mean you can use the URL like http://xxx. Thanks!

I have the same problem, when i try conect with thw url with port, it does not post information