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 7174955
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T16:10:27+00:00 2026-05-28T16:10:27+00:00

i’ve just written a very simple WCF service that exposes a SQL Server database

  • 0

i’ve just written a very simple WCF service that exposes a SQL Server database with OData. i can connect to the service, and make requests using “http://localhost:3006” but cannot connect using the ip address, even on the local machine.

i followed these basic steps to set up the WCF service and added the JSONP library from MSDN with no issue:
http://www.hanselman.com/blog/CreatingAnODataAPIForStackOverflowIncludingXMLAndJSONIn30Minutes.aspx

i’ve checked my firewall logs and found nothing suggesting any problems, although the firewall shouldn’t even be in question when connecting to my own local IPv4 address. the windows firewall is disabled, and can’t be the issue. i saw this line in the web.config:

<!--
<authentication mode="Forms">
  <forms loginUrl="~/Account/Login.aspx" timeout="2880" />
</authentication>
-->

and commented it out, as you can see, but it didn’t fix the issue. how can i connect to this debug server from a remote machine?

  • 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-28T16:10:29+00:00Added an answer on May 28, 2026 at 4:10 pm

    i was able to solve this problem by doing the following:

    perform Windows Update (just do it).
    update to Visual Studio 2010 SP1.
    get the IIS Express application.
    in VS, right-click the project node and click “Use IIS Express…”
    in the IIS Express applicationhost.config file you will have a site list in the xml
    under the site node that references your project, the binding needs to be changed to this:

    <binding protocol="http" bindingInformation=":[preferredport]:" />
    

    where [preferredport] should be the port number you want to use.
    at the command line, type this to tell httpsys to listen on all ipv4 addresses:

    netsh http add iplisten 0.0.0.0
    

    for ipv6, use this line:

    netsh http add iplisten ::
    

    run the project from VS2010 and you should now be able to connect remotely.

    this was so much less hassle with Linux rest… seems like something that should have been built in, as devs will obviously want to debug using remote clients…

    it may be possible to do this without IIS Express but i’m not sure how you would configure the VS debug server with the appropriate bindings, but this method does the trick without using Fiddler or WebMatrix or any of that other fluffy stuff.

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

Sidebar

Related Questions

I have just tried to save a simple *.rtf file with some websites and
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
link Im having trouble converting the html entites into html characters, (&# 8217;) i
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I have a jquery bug and I've been looking for hours now, I can't
I've got a string that has curly quotes in it. I'd like to replace
Seemingly simple, but I cannot find anything relevant on the web. What is the
I have a French site that I want to parse, but am running into
Does anyone know how can I replace this 2 symbol below from the string
I need a function that will clean a strings' special characters. I do NOT

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.