DDP Connection with WS getting CORS error

Hi,

i am trying to connect my meteor app with iOS app and Another Meteor app.

using remote = DDP.connect("ws://localhost:3000/websocket")

but i am getting this issue > XMLHttpRequest cannot load ws://localhost:3000/websocket/sockjs/info?cb=4v7kizvsvj. Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https, chrome-extension-resource.

why ?

for iOS is am using this library - https://github.com/boundsj/ObjectiveDDP

but cant connect succesfully .

Error Domain=boundsj.objectiveddp.transport Code=0 “You are not connected” UserInfo={NSLocalizedDescription=You are not connected} :disappointed_relieved: