So for the Awsome Miners out there.. There is a little bug in AM in combination with PM. If you get a connection error its probably due to this error: AM adds the workername/number to your adress and the server rejects the connection.. you UNcheck the "add workername" box in the miner settings/managed template and you should be ok. You can check in the console when the miner is loading, it will add something to your adress.
Bug is reported to AM dev.
Update: -eworker isnt passed by AM,so it puts the workername behind the address,and server rejects. will be fixed in AM update.