I want to config WCF using local IP Address.
Please help me to host WCF to IIS and edit web.config file using LOCAL IP ADDRESS
Thanks and best regards
Related
We are setting up for the HTTP configuration for our project with the httpd
But our physical IP address and the virtual IP address is not the same
Where the physical IP address is system IP address and virtual IP address is added in DNS configuration.
We need to setup httpd with the virtual IP address. not with the system IP address.
How can I do this without changing the DNS entry?
Please let me know the configurations for the httpd.
thank you.
You only need to bind http on port 80 (and 443 if you are not off-loading the secure layer).
Every request reaching your apache will be served according to the configuration (plain, virtualhost, etc).
I have my IP Address of 192.168.1.119 and I want to put my server online so other (sharing same LAN) can access it I have tried to change few configs and it didn't work, I have changed my port from 80 t0 8080 as I have IIS running on port 80. Here is my apache config(httpd.conf) file details.
I am not getting what is wrong with my config files or is there something missing that I need to setup?
Note: I have selected "Put Online" option from WAMP Server context menu.
http://192.168.1.119:8080/index.php
You can access this on your local network. If you want to access your content from web then you need to check your ip address then hit the same in browser with correct port number. https://www.whatismyip.com/ for public ip address.
I have an ubuntu server with three services, one running on port 8080, one running on port 8181 and apache running on 80.
My question is, is there a way I can "view" the services web interface on port 80, depending on the URL?
Currently I have to access the services by:
service.domain.com:8080
and
service.domain.com:8181
what I want is:
service1.domain.com to access the service on 8080 without having to include the port and
service2.domain.com to access the service on 8181 without having to include the port
is something like this possible? I was thinking there was a way to do it via virtual hosts, but I cannot think of a clear way to phrase my question to be able to google it further.
Figured it out, thanks to this post:
Multiples domains pointing to differents ports in apache server
Just needed to setup a Reverse Proxy.
from default httpd.conf to updating the host file and httpd.conf i tried but the website fails to open with domain name give
in host file
<my current public ip address> <domain name>
in httpd.conf
Listen [my public ip]:port
then restart of wamp server and finally restart of PC and of-course change of ip is done in above all.
But of no use
Please help
Thanks for time and response
Aaron,
I think you are misunderstanding the function of the HOSTS file.
The hosts file acts a little like a local DNS Server. Any changes you make to it will only effect the single PC that you made the change on.
What the HOST file actually does
When windows starts it starts a service called DNS Client also known as dnscache. That service reads the HOSTS file and seeds the dnscache with any domain names you put in it and the ip that should be connected to for each domain name.
Any program (the browser in this case) that wants to connect to a domain, checks this cache first, to reduce accesses to an actual DNS Server out on the web and therefore speed up the conversion of domain name to Ip Address.
So if you want external users, i.e. anybody on the internet to be able to access your site you have to either purchase a real domain name and get it pointed to your WAN ip address, or use a Dynamic DNS service like DYNDNS or NO-IP, to mention only a few, and get that dynamic dns service to point to your WAN IP.
You will also have to change your Apache config so it will serve that domain name, my suggestion would be to create a Virtual Host to do this.
This post may help with the process of creating a Virtual Host
I'm hosting my website on IIS. I am able to access the website via localhost and the system's IP address, but I'm unable to access it outside of my local network. I am able to remotely control that machine using mstsc.
I believe that the firewall is completely disabled. What could be the cause of this?
If your external IP address is different from your machines' intranet IP address, what you need is port forwarding configured in your router. I.e. external requests coming to ports 80 (HTTP) and port 443 (HTTPS) should be re-routed to your IIS PC.
Disregard port 443, if your web site is not using Secure Sockets Layer (SSL).