rkusa / DATIS

DCS World Automatic Terminal Information Service (ATIS) broadcasted through Simple Radio Standalone (SRS)
MIT License
89 stars 21 forks source link

Test mission: No connection could be made because the target machine actively refused it. (os error 10061) #107

Open Hepat1t opened 2 years ago

Hepat1t commented 2 years ago

Hello,

While I was trying to get DATIS to work, on Marianas, it didn't work so I tested the test mission on Caucasus. I was not able to hear anything on any of the ATIS frequencies. When I checked the logs I saw that it was giving this error: "No connection could be made because the target machine actively refused it. (os error 10061)". I had SRS running and was connected. I tried this in single player. DATIS.log Here is also the DATIS.log

Jacktherookie commented 2 years ago

Is your SRS Server turned on?

kaltokri commented 1 year ago

I've got the same problem. I think it is related to the changes of SRS needed to reenable autoconnect after DCS 2.8 release. SRS is now listening to the external IP of my server, but DATIS try to connect to the loopback device 127.0.0.1. We need a settig in the config file to give DATIS the right IP.

kaltokri commented 1 year ago

Ok, I found my problem. In srs_server.cfg I changed SERVER_IP=0.0.0.0 to my public IPv4 address. I did it to fix the SRS autoConnect problem since 2.8. But this setting must stay at 0.0.0.0 so SRS will use localhost (127.0.0.1), too.