Can we run multiple Chef Server instances and web-uis (on different ports) on the same machine?

I tried, but failed to authenticate the clients to the new chef server
instance.

Thanks
Dikang.