SoftwareQuTech / SimulaQron

Quantum Network Simulator for Application Programming
Other
113 stars 53 forks source link

Connecting to a remote simulated network #281

Open junzilla001 opened 6 months ago

junzilla001 commented 6 months ago

I have been trying to create a QKD network using 2 different remote nodes (2 virtual machines, each with a different IP address). When starting the SimulaQron network, I define the IP addresses and ports (one of the nodes is in the same machine as the Simulaqron network). Then, when programming the application, I try to establish a connection with the CQC server following the method that is explained in the CQC API:

cqc = CQCConnection("Alice", socket_address=("192.168.10.10", 8801))

I have not been able to do it, I have had problems with the cqc-ports, as when I load the network topology I want with the IP addresses and the ports established, the ports are not open and listening according to what I see with netstat. I do not know if it is a simulaqron problem or what but those ports do not get opened and I am not able to make the remote connection successfully.

Can anyone help me with this issue, please?

Thank you!