WebRTC connection with different networks - webrtc

I use this script for connect https://github.com/feross/simple-peer & connect 3 devices, on each of them 2 peers are opening, meaning they all connect each other. When I launch connection on 3 devices at home - all is working stable. But when devices are located remotely - at least one pair connection is getting lost.
I tried to use this list of servers, but it did not help & affected longer connection time.
What can be a reason for loosing connection?

You will have to use turn server for this, This link can give an idea how to install and configure a simple turn server.https://www.webrtc-experiment.com/docs/TURN-server-installation-guide.html

Related

Jetbrains Gateway settings for frequent disconnects

I’m using Jetbrains Gateway to use IntelliJ to work on the code in a remote Linux machine.
I connect via SSH. I connect and work fine initially, the latency is around 150 ms but it keeps disconnecting. I realized it disconnects when I stop coding and spend some time on other things (browser etc.). When I want to re-connect it asks for SSH key passphrase, I need to enter it multiple times and the 'Save Permanently' option won't work.
Is there a setting I can do to keep it connected?
Could this be related to my company's network, in which case again can I increase timeout or retry on fail by some settings?
This is Max from the remote development team at JetBrains.
I'm sorry to hear you are having trouble with Gateway. Please create a ticket here https://youtrack.jetbrains.com/newIssue?project=GTW describing your issue and attaching your logs. This will help us understand whats going on and resolve your issue.
Thanks!
I started using Remote Development feature of IntelliJ connecting to the same remote machine as described here https://www.jetbrains.com/help/idea/remote-development-starting-page.html
It does not disconnect, I can work whole day (tested 12+ hours) without any connection issues.

How to connect to a sqlserver database without internet

I want to create a desktop application using vb.net and sql-server. I have two computers and I have my sql-server installed in one of the machines (server) in this case. I want to access the database from that (server) using another computer but the challenge is, I don't have any internet connection. All I have is a network cable to connect these two computers the one serving as a server and the client machine. Is this possible to access my database or can only be achieved over an internet connection? If possible how can I go about it?
Yes this is possible, if you only need to connect two computers, you'll not even need a switch or hub. You only need to assign both computers a private IP address in the same address space, such as 10.0.0.2 and 10.0.0.3 for computer A and B.
However, it might still be reasonable to use a switch for your purpose, as you might need to expand your network and/or connect to the internet in future cases, but in your particular case, it is not mandatory.

How to to run program when USB is inserted?

Hi I have one program that I need to run on my server but the problem is that my server don't have any monitor, keyabord and mouse attach to it so I can confirn when windows 7 ask me to run program so is posible to just plug USB Mass Storage device in a computer and computer would execute this without any qestions?
Perhaps you could look into using autorun or some variant thereof (e.g. a program that would monitor the USB bus for devices, and automatically run some program when it detects that an appropriate storage device has been connect).
Bear in mind that, depending on the physical setup, this could be used as an attack vector.
As Celeriko said, you should try to find a way into connecting to your server remotely. Whether that be through SSH or a tool such as PUTTY (basically SSH right? I'm not sure off top of my head).
Having a usb automatically execute something would be a security risk and I believe it is restricted for that reason.
Best of luck trying to connect remotely into your server, it shouldn't be too difficult.

How can you set up multiple web clients on one machine

Is there any way to do this? I am working on a webRTC application and of course I need to test it. For that I need a connection between at least 2 peers and those peers can't be the same. For the work I had i used an old laptop but I need to test also the functionality of multiple connections and for that I would need another machine. Is there any way around this? I tried using different browsers, windows or tabs but it all didn't work.
You can try VM : install two or more linux in virtual box for example

AOL desktop sign in on wireless network

I don't know why? Whenever I install AOL desktop (9.5, 9.6, 10.0) on my computer and I'm connected to the internet using cable, every thing is ok. I can browse websites and sign in to AOL.
But whenever I connect to the internet using my wireless network at home, I can not sign in to AOL, but I can still browse the web.
My wireless network uses WPA2-Personal with AES encryption type.
I always get the AC-3000 error message whenever I want to sign into AOL. None of AOL solutions could be useful to solve this.
What do I have to do ?
You didn't mention what version of windows you are using but my suspicion would be that if you are on Windows Vista/7 then the cable connection is identified as "home" or private and that the wireless connection is identified as public and the AOL connection (which used to be on port 5190 IIRC) is getting blocked as a result.
If I am right, to change what apps have access on which network types, you can follow the instructions here:
http://www.addictivetips.com/windows-tips/how-to-stop-a-program-from-gaining-unsolicited-internet-access-in-windows-7/
Although it is about how to stop a program from accessing the internet, it works just as well the other way around ;)
You could use netstat to determine what the successful connection to AOL is on the cable set up in terms of destination and IP and then attempt a simple telnet connection to the same address/port on the wireless set up to verify if this is blocked at the network/port level or if it is blocking the application (usually referred to as ACS). If the telnet connection succeeds and does not timeout, then it is an application level restriction which you will need to fix .