How to connect Unity app with remote Node.js server

Hello

How to connect Unity app with remote Node.js server?

I know how to connect with 127.0.0.1 by Socket.IO for Unity - Asset Store

Can anyone help us?

I know how to connect WebGL build by Node.js (socket.io module) https://green-apps.herokuapp.com/

For this you need on client side: GitHub - socketio/socket.io-client: Realtime application framework (client)

On server side you need http://socket.io/

server.js

var express = require("express");
var app = express();
var http = require("http").Server(app);
var io = require("socket.io")(http);
var shortid = require("shortid");

app.use(express.static(__dirname + "/public"));

var players = [];

io.on("connection", function (socket)
{
    var thisPlayerId = shortid.generate();
    console.log("client connected, broadcasting spawn, id: ", thisPlayerId);
});

var port = process.env.PORT || 3000;

http.listen(port, function ()
{
    console.log("Listening on ", port);
});

But I don’t know how to connect my standalone applications. Please, help us.

try this GitHub - polytropoi/DataMangler: A simple user data management system for Unity games, built on the MEAN stack although the angular1 web stuff needs updating. Socket.io is cool but not needed if you just need a RESTful api.

Thank you very much! I think it is very usefull. But for now when I know how to broadcast messages by socket.io for WebGL clients I want to know can I connect my PC build by Socket.IO for Unity - Asset Store with heroku server by example. Or can I use another asset or method?