I am new to unity ,
I am trying to buid a chat functionality using RPC for Unity.
If one of my device(in which app is installed) is become server and other deivces connect to it, It work fine.
But i want my server to be different machine, in which app is not installed.
I want my all devices to connect to that server.
How should i configure my server such that i can connect to it for a RPC call.
Related
I am trying to connect to a Signalr server that is running on local IIS of my PC. If I use a browser in my PC, I am able to connect and see in my console server that I have successfully connected and the ID is shown. But when I try accessing the site via Iphone, I am able to access the website but in my console signalr server, I can see that my Iphone is not able to connect i.e. the clientId does not show. I don't know which code to show you since the signalr server works with browser in my PC. It is just my iphone that cannot connect. Need your help.
I have developed a unity game which listens to a TCP port. I have used System.Net.Sockets.TcpListener class to achieve this.
I have ported the game for UWP (using IL2CPP scripting backend). I also have checked internetClientServer and privateNetworkClientServer capabilities in the Visual Studio.
After creating the package and installing the package using XBOX Remote Access, it will work successfully. But after restarting the console the game crashes when a client wants to connect.
Exception: The thread tried to read from or write to a virtual address for which it does not have the appropriate access.
Appreciate any help
I am having some issues with sockets in UWP.
I'm trying to test some simple socket communications (stripped down version of the MSDN example) between a mobile and a desktop on the same LAN subnet. I am developing in a VM (on a separate desktop) and can deploy to the VM and mobile. In that case connections work fine.
When I create an app package and install it on the desktop, I cannot connect.
I have windows firewall on the desktop completely off. The VM is set to have a separate IP on the network. I have checked all IPs I'm using are correct.
I am getting the typical: A connection attempt failed because the connected party did not properly respond after a period of time
This is driving me crazy, if anyone has any helpful advice that would be much appreciated!
edit: To clarify the above.
My app has both both client and server roles (can connect to a listener, and is also listening itself).
App (on Mobile) --> App (on VM, deployed from VS) - this works fine, Mobile can connect to VM no problem.
App (on Mobile) --> App (on Desktop, installed from appx) - Mobile unable to connect to Desktop. Firewall on desktop disabled. Task Manager shows .exe listening on the correct port.
Thanks, Inci
Found a solution to this - it appears connections over LAN need to have the Internet(Client & Server) capability selected.
I am most certainly connecting over my local network (specifically 192.168.0.15 (mobile) to .21 (desktop). It seems that when deploying with VS the app doesn't need the Internet capability.
If there is a more 'correct' solution I'll amend this.
For develop purpose only I'm testing a UWP (Universal Windows Platform) client app locally on my Windows 10 Laptop, where a WebAPI service is running.
By default, WinRT apps cannot connect to localhost but Visual Studio locally deployed apps should, but I coudn't manage to succeed.
Then I've used Fiddler to check and eventually enable loopback ability for my UWP app and found that it was already enabled.
By accident I've discovered that only while Fiddler is running, my UWP app can connect to the WebAPI service.
I'd like to know why.
Fiddler is able to Allow your App to use the local network loopback.
Simply check your App and you can reach your WebService.
You will see if you uncheck your App, you won't reach your WebService again.
Visual Studio enables the local network loopback while debugging as well if you check the option in your Projects Debugging Properties. (Project -> Properties -> Debugging -> Allow local network loopback)
Can anyone suggest me how to make a hybrid app where i am using from as ionic and backend mongodb and server as node
running the node in server automatically stated my ionic front end page and everything works fine in the browser
but while running ionic serve --lab it is not connecting to server
i already successfully implemented the browser application using the above but while making .apk file i am not able to connect to the server
can any one suggest a solution for this
hi finally found the solution done the server using REST API and front end as ionic which is connecting to the REST API