Citrix and COM port

I know how used the COM port. Now I have another problem. I want read the local port in the Citrix client, not on the Citrix´s server, and Axapta try to call the port in the server not in the client What can I do?