Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. WCF and WF
  4. how do i enable remote access for WCF services?

how do i enable remote access for WCF services?

Scheduled Pinned Locked Moved WCF and WF
csharpquestionhtmlvisual-studiowcf
1 Posts 1 Posters 4 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    neodeaths
    wrote on last edited by
    #1

    hi i am using vs.net 2012 to build a simple rest wcf application. i reference the tutorial from http://www.topwcftutorials.net/2013/09/simple-steps-for-restful-service.html[^] and managed to get it to work locally. i am now trying to configure it to allow me to use my browser on the same network to access the service with a specific port. could anyone give some guidance? i tried to search about it and tested it but always end up with a http error, the request hostname is invalid error when i tried to put

    <host>
    <baseAddresses>
    <!--<add baseAddress="http://192.168.1.10:54029/Test\_WCF\_App1/ProductRESTService.svc"/>-->
    <add baseAddress="http://192.168.1.10/Test\_WCF\_App1/ProductRESTService.svc"/>
    </baseAddresses>
    </host>

    into my web.config

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups