serproxy - waiting for clients

I'm having a similar problem.

I'm using Arduino 0017, an Arduino Mega and i'm on a Mac Book Pro running OS X 10.6.

I can upload sketches in the normal way via the Arduino without any problems.

I've changed the baud rate via the serial monitor to 9600.

I've made sure that the StandardFirmata file in the Arduino environment say: 'Firmata.begin(5331);' - which is the same in the serproxy.cfg

I've also made sure that the serproxy.cfg says 'comm_baud=9600'

When i run the Flash test fla i get the following: Socket connected! Socket closed!

Here's what i get initially in the Terminal:

Last login: Sat Jan 30 19:39:45 on ttys000
macbookpro:~ me$ /Users/me/Desktop/Arduino\ exp/as3glue-cs247-01/as3glue/applications/Serproxy-0.1.3-3/serproxy ; exit;
Serproxy - (C)1999 Stefano Busti, (C)2005 David A. Mellis - Waiting for clients

When the Flash is run i get this message from the Terminal:
'Failed to open comm port - connection refused'

Here's the config for the Serproxy:

# Config file for serproxy

# Do not Transform newlines coming from the serial port into nils
newlines_to_nils=false

# Comm ports used
comm_ports=1

# Default settings
comm_baud=9600
comm_databits=8
comm_stopbits=1
comm_parity=none

# Idle time out in seconds
timeout=300

# Port 1 settings (ttyS0)
net_port1=5331

# Port 2 settings (ttyS1)
net_port2=5332

# Port 3 settings (ttyS2)
net_port3=5333

# Port 4 settings (ttyS3)
net_port4=5334

I'm also unclear how i would go about identifying what the port number is for the usb.

Can anyone help? :cry: