Oauth app specify port?

Can you specify a port for the homepage url and authorization callback url for an oauth app definition?
Can’t seem to find this in the docs….