What causes an "indirect connection"

I have been wondering what causes an indirect connection and how do you go about avoiding that? what can be done to prevent it from the server end?