Fix server

Send events to server instead of hostname