Failed to establish connection to ('127.0.0.1', 7687) (reason [WinError 10061] No connection could be made because the target machine actively refused it)

从json文件中转换抽取三元组
100%|████████████████████████████████████| 8808/8808 [00:00<00:00, 12456.91it/s]
写入 药品 实体
0%| | 0/3975 [00:00<?, ?it/s]Failed to establish connection to ('127.0.0.1', 7687) (reason [WinError 10061] No connection could be made because the target
machine actively refused it)
MERGE(n:药品{name:'芪珍胶囊'})
0%| | 1/3975 [00:02<2:14:52, 2.04s/it]Failed to establish connection to ('127.0.0.1', 7687) (reason [WinError 10061] No connection could be made because the target
machine actively refused it)
MERGE(n:药品{name:'克林霉素磷酸酯阴道泡腾片'})
0%| | 2/3975 [00:04<2:15:11, 2.04s/it]Failed to establish connection to ('127.0.0.1', 7687) (reason [WinError 10061] No connection could be made because the target
machine actively refused it)
MERGE(n:药品{name:'保胎丸'})
0%| | 3/3975 [00:06<2:14:30, 2.03s/it]Failed to establish connection to ('127.0.0.1', 7687) (reason [WinError 10061] No connection could be made because the target
machine actively refused it)
MERGE(n:药品{name:'伤痛宁膏'})
0%| | 4/3975 [00:08<2:14:28, 2.03s/it]Failed to establish connection to ('127.0.0.1', 7687) (reason [WinError 10061] No connection could be made because the target
machine actively refused it)
MERGE(n:药品{name:'盐酸多奈哌齐胶囊'})
0%| | 5/3975 [00:10<2:14:59, 2.04s/it]Failed to establish connection to ('127.0.0.1', 7687) (reason [WinError 10061] No connection could be made because the target
machine actively refused it)
MERGE(n:药品{name:'金刚藤口服液'})
0%| | 6/3975 [00:14<2:37:23, 2.38s/it]
how to solve that

Could it be either a firewall issue?

Or if your neo4j is running on another machine, that you have not configured it to listen on the public interface?

change the listen_address to 0.0.0.0 in neo4j.conf