Forum Moderators: phranque

Message Too Old, No Replies

wcf services on Apache -> Acces them via ip or hostname

         

wcfservice

1:27 pm on Sep 7, 2010 (gmt 0)

10+ Year Member



Hi,

I have a little Problem with my apache server.
I installed the module apachedotnet that allows me to host wcf services on my apache (needed for my silverlight applications).
Then i created a virtual directory in my doc root where i mounted the service with aspnetMount.

I can acces the service via localhost/virtualDirectory/Service.svc,
but i cant acces the service via my ip or my host name (192.168.2.25/virtualDirectory/Service.svc)

i get that error:
No protocol binding matches the given address '{192.168.2.25/virtualDirectory/Service.svc}'. Protocol bindings are configured at the Site level in IIS or WAS configuration.

Can anyone help me with this problem?



thx

jdMorgan

8:21 pm on Sep 8, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Please confirm that the URl that you requested was
http://192.168.2.25/virtualDirectory/Service.svc
That is, the protocol must be specified in the URL.

Jim

wcfservice

8:18 pm on Sep 10, 2010 (gmt 0)

10+ Year Member



thx for the answer, but of course im using the http protokoll ;)
so my problem is still not solved ;(

wcfservice

9:29 am on Sep 22, 2010 (gmt 0)

10+ Year Member



*push ^^

jdMorgan

1:27 pm on Sep 23, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Are you trying to access this server from the same IP address as the server's IP address? That is, from 192.168.2.25 itself? If so, try using the 127.0.0.1 loopback address instead.

Are the domain name and all IP addresses defined as aliases for the ServerName?

Is the domain name defined in your network DNS, or in all 'hosts' files on all LAN workstations that need to access this server? (I am referring to the file that is literally named "hosts" typically found in the Windows/system32/drivers/etc folder on Windows machines, but present on all computers that support internet connections.)

Jim