server for gateway adapter