Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

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.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4626858
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T03:28:55+00:00 2026-05-22T03:28:55+00:00

on client side I try to create a proxy to my WCF service. It

  • 0

on client side I try to create a proxy to my WCF service.

It created cool. But only small thing trouble me.

The matter I want it has and IP address as service name. But really has my machine name. Briefly

I have http://mycomputer/blabla in various site after generation

But I need it like this : http://93.48.56.74/blabla where 93.48.56.74 is the IP address of my computer where I generate this.

How to solve this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T03:28:56+00:00Added an answer on May 22, 2026 at 3:28 am

    The reason it is using your machine name, is because that is the address advertised in the generated WSDL. As commented, you can just modify your Web.config or App.config and it will use the IP address.

    So much for the simple answer 🙂
    Alternatively, you can change the WSDL. If you’re using .NET 4.0*, you can apply the
    <useRequestHeadersForMetadataAddress> behavior to your service configuration.

    After the behavior has been added, the service metadata will advertise the same endpoint address that you use to retrieve the WSDL. So if you add a Service Reference to http://93.48.56.74/blabla, the proxy and configuration generated should use the IP address rather than the host name.

    *: There is also a hotfix available for .NET 3.5: KB971842 (don’t mind the description of the hotfix)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to create a JSON object on client-side and pass to a server-side
I'm usually a C# developer, but writing a mostly-client side application using jQuery. It
Is there any way to crop a photo using client side JavaScript only? When
I need to create wcf service for sharepoint 2010. The idea to use Jquery
I created a WCF Service, Hosted it in IIS and created a web application
I'm trying to integrate NHibernate.Validator with ASP.NET MVC client side validations, and the only
I'm trying to create a cookie on client side using wininet from a c#
I know that join is not supported on client side with WCF DS thats
Client side form validation becomes easiest by using jQuery. I tried all validators and
Client side javascript code creates some elements (about 50-100) in a cycle: for (var

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.