Optifine is strictly a client-side-only mod. This means that the mod is only installed on the client's computer and is not supposed to be installed on a server. If however, you do install it on a server then expect performance issues along with frequent crashes.