Can i call a wcf service without knowing the port and not using discovery?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If the address uses default port for protocol you don’t need to pass it to the URL. For example 80 for HTTP or 443 for HTTPS. But in that case you “know” the port because you don’t specify it.
Otherwise no. You always need to know the address and a port is part of it. If you don’t know the address you need some discovery to get it.
It is the same as with mail. If you don’t know destination address you cannot send a letter.