Reputation: 18743
Is it possible to define the local port name used by a service using WCF?
I am working on two Windows services using the port 8000 & 8001, and I have noticed that the port 8001 used by one of my service is actually resolved in "RbService". How is that? What does "RbService" means?
Here is the view from CurrPorts:
I don't understand where this "RbService" comes from, and why my service using the port 8000 doesn't have a local port name.
Upvotes: 0
Views: 636
Reputation: 2648
To define port number and description here is what you can do :
Open the file C:\Windows\System32\drivers\etc\services
in notepad
and add your desired port and service name in the following format
servicename portnumber # comments
Example
pro5srv 1100/tcp # PRO/5 file service
To define local port for WCF BaseURI can be modified under host.
Upvotes: 1