Serial port problem. Java issue?

Hi. This is my first time with Arduino and I’m not getting off to a great start.

I am attempting to connect to an Arduino Yun.

Board info:

BN: Arduino Yún
VID: 2341
PID: 8041
SN: (null)

I’m running a MacBook pro Retina 13" mid 2014. Processor 3 Ghz Intel Core i7. Memory 16 GB 1600 Mhz DDR3. Graphics Intel Iris 1536 MB iOS Sierra Version 10.12.3 Java 8 Update 121

I have IDE 1.8.1 installed, but I have been unable to upload any sketches at all. :frowning:

I have the Yun selected under the Boards Manager/Tools menu.

I only have three port options even after installing the latest FTDIUSBSerialDriver_v2_3. Ports showing are:

Serial Ports
/dev/cu.Bluetooth-incoming-Port
/dev/cu.usbmodem1421 (Arduino Yun)

Network Ports
arduinogrow at 192.1.168.1.141 (Arduino Yun)

This is the error code I got when selecting /dev/cu.usbmodem1421 (Arduino Yun). Please help. I can’t find anything online that corresponds, directly at least, to this issue.

Sketch uses 9114 bytes (31%) of program storage space. Maximum is 28672 bytes.
Global variables use 434 bytes (16%) of dynamic memory, leaving 2126 bytes for local variables. Maximum is 2560 bytes.
avrdude: ser_open(): can’t open device “/dev/cu.usbmodem1421”: Resource busy
Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.
java.net.SocketException: Can’t assign requested address

  • at java.net.PlainDatagramSocketImpl.join(Native Method)*
  • at java.net.AbstractPlainDatagramSocketImpl.join(AbstractPlainDatagramSocketImpl.java:178)*
  • at java.net.MulticastSocket.joinGroup(MulticastSocket.java:323)*
  • at javax.jmdns.impl.JmDNSImpl.openMulticastSocket(JmDNSImpl.java:463)*
  • at javax.jmdns.impl.JmDNSImpl.(JmDNSImpl.java:420)*
  • at javax.jmdns.JmDNS.create(JmDNS.java:81)*
  • at cc.arduino.packages.discoverers.NetworkDiscovery.inetAddressAdded(NetworkDiscovery.java:211)*
  • at cc.arduino.packages.discoverers.network.NetworkChecker.run(NetworkChecker.java:67)*
  • at java.util.TimerThread.mainLoop(Timer.java:555)*
  • at java.util.TimerThread.run(Timer.java:505)*
    java.net.SocketException: Can’t assign requested address
  • at java.net.PlainDatagramSocketImpl.join(Native Method)*
  • at java.net.AbstractPlainDatagramSocketImpl.join(AbstractPlainDatagramSocketImpl.java:178)*
  • at java.net.MulticastSocket.joinGroup(MulticastSocket.java:323)*
  • at javax.jmdns.impl.JmDNSImpl.openMulticastSocket(JmDNSImpl.java:463)*
  • at javax.jmdns.impl.JmDNSImpl.(JmDNSImpl.java:420)*
  • at javax.jmdns.JmDNS.create(JmDNS.java:81)*
  • at cc.arduino.packages.discoverers.NetworkDiscovery.inetAddressAdded(NetworkDiscovery.java:211)*
  • at cc.arduino.packages.discoverers.network.NetworkChecker.run(NetworkChecker.java:67)*
  • at java.util.TimerThread.mainLoop(Timer.java:555)*
  • at java.util.TimerThread.run(Timer.java:505)*
    java.net.SocketException: Can’t assign requested address
  • at java.net.PlainDatagramSocketImpl.join(Native Method)*
  • at java.net.AbstractPlainDatagramSocketImpl.join(AbstractPlainDatagramSocketImpl.java:178)*
  • at java.net.MulticastSocket.joinGroup(MulticastSocket.java:323)*
  • at javax.jmdns.impl.JmDNSImpl.openMulticastSocket(JmDNSImpl.java:463)*
  • at javax.jmdns.impl.JmDNSImpl.(JmDNSImpl.java:420)*
  • at javax.jmdns.JmDNS.create(JmDNS.java:81)*
  • at cc.arduino.packages.discoverers.NetworkDiscovery.inetAddressAdded(NetworkDiscovery.java:211)*
  • at cc.arduino.packages.discoverers.network.NetworkChecker.run(NetworkChecker.java:67)*
  • at java.util.TimerThread.mainLoop(Timer.java:555)*
  • at java.util.TimerThread.run(Timer.java:505)*
    java.net.SocketException: Can’t assign requested address
  • at java.net.PlainDatagramSocketImpl.join(Native Method)*
  • at java.net.AbstractPlainDatagramSocketImpl.join(AbstractPlainDatagramSocketImpl.java:178)*
  • at java.net.MulticastSocket.joinGroup(MulticastSocket.java:323)*
  • at javax.jmdns.impl.JmDNSImpl.openMulticastSocket(JmDNSImpl.java:463)*
  • at javax.jmdns.impl.JmDNSImpl.(JmDNSImpl.java:420)*
  • at javax.jmdns.JmDNS.create(JmDNS.java:81)*
  • at cc.arduino.packages.discoverers.NetworkDiscovery.inetAddressAdded(NetworkDiscovery.java:211)*
  • at cc.arduino.packages.discoverers.network.NetworkChecker.run(NetworkChecker.java:67)*
  • at java.util.TimerThread.mainLoop(Timer.java:555)*
  • at java.util.TimerThread.run(Timer.java:505)*
    java.net.SocketException: Can’t assign requested address
  • at java.net.PlainDatagramSocketImpl.join(Native Method)*
  • at java.net.AbstractPlainDatagramSocketImpl.join(AbstractPlainDatagramSocketImpl.java:178)*
  • at java.net.MulticastSocket.joinGroup(MulticastSocket.java:323)*
  • at javax.jmdns.impl.JmDNSImpl.openMulticastSocket(JmDNSImpl.java:463)*
  • at javax.jmdns.impl.JmDNSImpl.(JmDNSImpl.java:420)*
  • at javax.jmdns.JmDNS.create(JmDNS.java:81)*
  • at cc.arduino.packages.discoverers.NetworkDiscovery.inetAddressAdded(NetworkDiscovery.java:211)*
  • at cc.arduino.packages.discoverers.network.NetworkChecker.run(NetworkChecker.java:67)*
  • at java.util.TimerThread.mainLoop(Timer.java:555)*
  • at java.util.TimerThread.run(Timer.java:505)*