cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
263
Views
1
Helpful
1
Replies
Highlighted
Beginner

Which port to use from mobile client for accessing MAS api

Hi,

We have configured CMX setup and are accessing api through CMX.framework from an iOS application.

For registration, we initially tried to access using following URL(cmx-cloud-server/api/cmxmobile/v1/venues/info/) which is used by the framework and we used port 8085 (SDK service port) but we got 404 error.

Then looking at the MAS, we changed the URL to (cmx-cloud-server-sdk/api/cmxmobileserver/v1/venues/info/) which worked from browser. However SDK uses a different URL(/cmx-cloud-server/api/cmxmobile/v1/venues/info/) as mentioned above.

So we tried changing the port to 8082 (server port) and the registration was successful using SDK with no other changes from our side.

Since there are different ports, which port do we have to use for using the apis from iOS device and what is the difference between ports?

Thanks.

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Cisco Employee

Re: Which port to use from mobile client for accessing MAS api

Hi

Use port 8082 which is the default MAS server port. Use the SDK for making the registration call using the registerWithAppServerWithCompletion: method. That should suffice. You should not be using any url calls yourself.

Abhishek

View solution in original post

1 REPLY 1
Highlighted
Cisco Employee

Re: Which port to use from mobile client for accessing MAS api

Hi

Use port 8082 which is the default MAS server port. Use the SDK for making the registration call using the registerWithAppServerWithCompletion: method. That should suffice. You should not be using any url calls yourself.

Abhishek

View solution in original post

CreatePlease to create content
Content for Community-Ad
Cisco Community April 2020 Spotlight Award Winners
This widget could not be displayed.