added host and port when choosing a target other than Generic

didn't work before, now works great !