title: raspberrypi to raspberrypi /bluetooth/errorcode 111, connection refused
body: <p>I'm studying rasp pi3 b+</p>
  <p>I want to communication rasp pi - rasp pi  by Bluetooth</p>
  <p>already set pair, connect each other in cmd ( a strange situation : (command)scan on &gt;Relative address doesn't appear, but pair add, connect add is a success)</p>
  <p>and</p>
  <p>I entered the cording as below</p>
  <pre><code>From Bluetooth import*
  
  client_socket=BluetoothSocket(RFCOMM)
  client_socket.connect((&quot;Add , port&quot;))
  
  while True:
        msg = client_socket.recv(1024)
        print(&quot;receive msg: {}&quot;.format(msg))
  client_socket.close()
  
      enter code here
      enter code here
      enter code here
  
  ----------------
  
  another one
  
  same ...
  while True:
        msg=raw_input(&quot;send&quot;)
        print(msg)
        clinet_socket.send(msg)
  client_socket.close()
  </code></pre>
  <p>after input &quot;python filename.penter code herey &quot; in cmd</p>
  <p>error occurred</p>
  <pre><code>bluetooth.btcommon.BluetoothError: (111, &quot;connection refused')
  </code></pre>
  <p>help me plz...</p>