GADGETS-38: gadget web exception when using port offset.