listening on localhost:4000

Known Issues and Problems with BCI2000
Post Reply
foutay
Posts: 1
Joined: 31 May 2016, 00:15

listening on localhost:4000

Post by foutay » 08 Jun 2016, 04:13

Hi,
I used the version of BCI2000 downloaded from the link http://bci2000.org/downloads/bin/BCI2000Contrib.exe on may,2016.


when I run the CursorTask_SignalGenerator, an error message in the systen mog window show up saying that

"
2016-06-08T16:07:37 - Operator: Could not open socket for listening on localhost:4000
2016-06-08T16:07:37 - Script error: D:\ProgramFiles\BCI2000\BCI2000Setup\BCI2000\batch\CursorTask_SignalGenerator.bat, line 32: Could not start up system
"
So, I think this may be a bug of the latest version BCI2000Contrib.exe. Or I maybe have done someting wrong.
Please give some help.

all my best
foutay

pbrunner
Posts: 344
Joined: 17 Sep 2010, 12:43

Re: listening on localhost:4000

Post by pbrunner » 08 Jun 2016, 10:02

Foutay,

there are three potential causes for this error message:

1) a firewall on your machine that blocks the BCI2000 modules to connect through UDP sockets. In this case disable the firewall or add enable the BCI2000 modules in the firewall.

2) BCI2000 is already running, or crashed previously and is still blocking the UDP sockets. In this case either kill the process in the task manager or restart your PC.

3) Another program is occupying UDP port 4000. In this case you need to check with netstat in the cmd to see which program that is and terminate it.

In addition I would recommend that you use the release candidate for v3.6. You can download it from the beta test forum.

http://www.bci2000.org/phpbb/viewtopic.php?f=1&t=2955

Let me know if this resolves the issues that you are experiencing.

Regards, Peter

lichangjun
Posts: 2
Joined: 21 Mar 2016, 06:55

Re: listening on localhost:4000

Post by lichangjun » 27 Sep 2016, 23:25

i also encountered this problem a few days ago ,and thanks for pbrunner's advice i solve this problem today.
when i solve the first and second of the "three potential causes ” the problem is still there .but when i solve the third potential cause ,the problem just gone.
here is my method to solve the third problem:http://jingyan.baidu.com/article/3c48dd ... 358b8.html

Post Reply

Who is online

Users browsing this forum: No registered users and 29 guests