Not Able To Connect to XMPP Server on other server - ios

Not Able To Connect to XMPP Server Outside the Network (different netwok or WiFi)
Hi all am developing an IOS app which has chat feature am able to connect to XMPP server(Ejabbered) which is installed locally (same wifi for Local mac and device) but when am trying to connect to server which is installed on main live Server its not connecting because thats a different network! how i solve this issue!
Thanks in Advance!

Related

How to make connexion between swifty iOS client and RABBIT MQ

i'm developing a small mobile app and i want to receive notifications push from RABBITmMQ, but the problem i don't know how to connect my swift iOS client with RABBITMQ, by the way RABBITMQ is not installed at my local host
i have some credentials configuration to implement it. the problem is the documentation of RABBIT MQ not mentioned how to connect to this remote host not the local.
To connect RabbitMQ to ios you can use this lib:
https://github.com/rabbitmq/rabbitmq-objc-client
About remote connection, follow this example:
https://www.rabbitmq.com/tutorials/tutorial-one-swift.html
here the code:
let conn = RMQConnection(uri: "amqp://user:pass#myrabbitserver.com:5672",
delegate: RMQConnectionDelegateLogger())

Connect 3g obd II to azure iot hub

I am new to azure iot and I am trying to connect a 3g obd 2 tracker to my account azure iot hub. I found an example to connect the obd to local gateway (phone) via bluetooth or wifi but I want the tracker to be completely independant from any local gateway.
Is there a tutorial or documentation to help me getting starting with connecting 3g teacker to azure iot
There is no tutorial specifically on 3G trackers. What is the OS running on the device? You can always use the device SDK to connect to IoT Hub directly if your device is IP capable.

Developing React Native on Device When Ports are Blocked

I developing a mobile application using React Native. For testing, I run the application on a physical iPhone which means pointing the device to the React Native server running on port 8081 of my laptop. As a remote developer, I often work in coffee shops, libraries, or other public places with WiFi.
My issue is some of these public places block traffic between devices so even if the phone and development machine are on the same network, the mobile device is unable to reach the React Native server.
One remedy I have found is to create a private network between the iPhone and my Macbook. While this solved the issue of connecting to the React Native server, it cuts my laptop off from a public internet connection so this is not a viable option.
Is there a solution to this problem which retains a public internet connection for my devices and also allows comunication between the phone and the React server?
https://ngrok.com allows you to setup secure tunnels to localhost that you can access on the public internet.
Test mobile apps against a development backend running on your
machine. Point ngrok at your local dev server and then configure your
app to use the ngrok URL. It won't change, even when you change
networks.

How can I make a PyCharm server running locally available to iPhone on same network

I am developing a backend server for an app using PyCharm. This runs on my laptop as 127.0.0.1:8000
I need to access this server for testing from an iPhone. This is connected by wifi to my local network to which the laptop is also connected.
I have tried entering http://mycomputer.local:8000 in safari on the iPhone but I get the message "Safari could not open the page because the server stopped working. I am using the real name of my computer instead of 'mycomputer'.
I am running OS X Yosemite so Web Sharing is not available in System Preferences.
How can I give access to the 127.0.0.1:8000 server to my iPhone?
When you say "backend server", what is the Python project written in? Django, Flask, Pyramid, something else?

Connecting to Java Server from iPhone Chat application using Socket

One of my iOS developer is trying to connect to my Chat Application server which is developed using Socket (Java).
When he tries to connect to Server using GCDAsyncSocket during debug I can see readStreamHeader() is executing which is throwing StreamCorruptedException.
Same thing is happening when I do telnet using cmd : telnet localhost 13000
I'm able to connect with my java created client application but not with iOS client. I believe socket in java and in iOS have different way of communication. Please HELP !

Resources