Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
DotNet
acad.assignment.mngr
academic
adonet
aspnet
aspnet.announcements
aspnet.build.controls
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
clr
compactframework
component_services
datatools
distributed_apps
drawing
faqs
framework
framework.wmi
general
internationalization
interop
languages.csharp
languages.jscript
languages.vb
languages.vb.controls
languages.vb.data
languages.vb.upgrade
languages.vc
languages.vc.libraries
myservices
odbcnet
performance
remoting
scripting
sdk
security
setup
vjsharp
vsa
webservi.enhancements
webservices
windowsforms
windowsforms.controls
winforms.databinding
winforms.designtime
xml
  
 
date: Wed, 26 Dec 2007 12:08:23 -0500,    group: microsoft.public.dotnet.distributed_apps        back       


WCF: WCF service is not visible from clients outside the development computer.   
WCF service is not visible from clients outside the development
computer.

I have the following service implementation

 

<services>

 

<service name="Hitnext.ActiveDialer.Services.ActiveDialerServices"

behaviorConfiguration="ServiceBehavior">

 

<endpoint name="netTCP_Endpoint" 
      binding="netTcpBinding"

      contract="Hitnext.ActiveDialer.Services.IActiveDialerServices" 

      bindingConfiguration="netTCP_Bindings"/>

 

<endpoint name="MetaDataEchange"

binding="mexHttpBinding"

      contract="IMetadataExchange" />

 

<host>

<baseAddresses>

            <add baseAddress="net.tcp://somedomain.com:19000" />

            <add baseAddress="http://localhost:18000" />

      </baseAddresses>

</host>

 

</service>

                  

</services>

 

I create a proxy in the client side thru the Add Service Reference tool
in VS.
When I run it from my computer (local development computer) it works
fine.

If I publish the app and try to run it from another computer, it does
not find the service (that is running in somedomain.com:19000).

So you know the service is running when I run the client, and I can
access somedomain.com:19000 via telnet from the client computer. And
also I redirect connection from ports 19000 and 18000 to the computer
running the service.

Any idea why it might now be working?

Thanks!
date: Wed, 26 Dec 2007 12:08:23 -0500   author:   Mike

Re: WCF: WCF service is not visible from clients outside the development computer.   
Hi

If you can telnet, it is probably the client at fault.

It might be because the mex is http but the service netTcp?

HTH
Stuart

> <service name="Hitnext.ActiveDialer.Services.ActiveDialerServices"
>
> behaviorConfiguration="ServiceBehavior">
>
> <endpoint name="netTCP_Endpoint"
>       binding="netTcpBinding"
>
>       contract="Hitnext.ActiveDialer.Services.IActiveDialerServices"
>
>       bindingConfiguration="netTCP_Bindings"/>
>
> <endpoint name="MetaDataEchange"
>
> binding="mexHttpBinding"
>
>       contract="IMetadataExchange" />
>
> <host>
>
> <baseAddresses>
>
>             <add baseAddress="net.tcp://somedomain.com:19000" />
>
>             <add baseAddress="http://localhost:18000" />
>
>       </baseAddresses>
>
> </host>
>
> </service>
>
> </services>
>
> I create a proxy in the client side thru the Add Service Reference tool
> in VS.
> When I run it from my computer (local development computer) it works
> fine.
>
> If I publish the app and try to run it from another computer, it does
> not find the service (that is running in somedomain.com:19000).
>
> So you know the service is running when I run the client, and I can
> access somedomain.com:19000 via telnet from the client computer. And
> also I redirect connection from ports 19000 and 18000 to the computer
> running the service.
>
> Any idea why it might now be working?
>
> Thanks!
date: Thu, 27 Dec 2007 21:11:43 -0800 (PST)   author:   NonNB

Re: WCF service is not visible from clients outside the development computer.   
Do you have a firewall running on your host machine. Windows firewall when on do block such incoming communications. U can  disable the firewall to check if it works (Not recommended).

The recommended way if this is your situation is to create an exception in the firewall allowing communication on the used ports
  "Mike"  wrote in message news:E98108AA841244848B42EC18590E222A@PHBASE...
  WCF service is not visible from clients outside the development computer.

  I have the following service implementation

   

  <services>

   

  <service name="Hitnext.ActiveDialer.Services.ActiveDialerServices"

  behaviorConfiguration="ServiceBehavior">

   

  <endpoint name="netTCP_Endpoint" 
        binding="netTcpBinding"

        contract="Hitnext.ActiveDialer.Services.IActiveDialerServices"         bindingConfiguration="netTCP_Bindings"/>

   

  <endpoint name="MetaDataEchange"

  binding="mexHttpBinding"

        contract="IMetadataExchange" />

   

  <host>

  <baseAddresses>

              <add baseAddress="net.tcp://somedomain.com:19000" />

              <add baseAddress="http://localhost:18000" />

        </baseAddresses>

  </host>

   

  </service>

                    

  </services>

   

  I create a proxy in the client side thru the Add Service Reference tool in VS.
  When I run it from my computer (local development computer) it works fine.

  If I publish the app and try to run it from another computer, it does not find the service (that is running in somedomain.com:19000).

  So you know the service is running when I run the client, and I can access somedomain.com:19000 via telnet from the client computer. And also I redirect connection from ports 19000 and 18000 to the computer running the service.

  Any idea why it might now be working?

  Thanks!
date: Wed, 6 Feb 2008 13:31:50 +0100   author:   Onawole Clement Oladapo

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us