I am having problems setting up my http server. I have routed my domain to my public ip.
I can view my website at [my public ip].org
Here are my router settings:
Here is my firewall settings for the port
I can view the website at local internet but foreign IP's cannot access it.
This link says that port 80 is closed
http://www.yougetsignal.com/tools/open-ports/
Ping results:
How can i fix this?
Solved. The only external IP i was forwarding was my own public ip.
From my router settings, I changed the External IP address to 0.0.0.0.
Related
So, localhost is working
static ip is assigned and port forwarded to 80
localhost and port forwarding
But I still cannot access from other computer Firewall is disabled and ive tried myipaddress,myipaddress:80 and myipaddress:8080 as well and when I type my ip router modem static ip (192.168.10.100) I do get redirected to localhost.
can someone help me understand what im doing wrong
firewall and remote desktop out of local network
I am able to host website in IIS 8 but not with ip add. The binding with ip and browsing the site in chrome gives 'ERR_NETWORK_ACCESS_DENIED'
http://localhost - works
http://10.111.148.133/ - does not work.
Seems you are using your public IP.
You can browse using your local IP address. Your local IP address should be some thing like 192.168.xxx.xxx .
You can check your local Ip address using the following command in command prompt.
ipconfig/all
if you want to access your site using public ip, then you need to port forward from your public IP to localIp by setting the DMZ Host in your router.
Along with the above answer, try going through your Firewall settings on the host computer and enabling anything related to IIS or port 80.
You can easily figure out if your antivirus or firewall is the issue by temporarily disabling it.
However, I think your issue is that you grabbed your public IP address, off whatsmyip.com or something, you just need to exec ipconfig to see what your local IP is.
I am trying to connect to my localhost from another computer. I have changed the host files to add the following at the end of the file: 127.0.0.1 privacy.local
And in my httpd-vhosts, I've added the following: DocumentRoot "/xampp/htdocs/app/" ServerName privacy.local
On my computer, I able able to access my website using privacy.local and my IP address. However, when I try to access this from my other computer, it does not work. I have also edited the host file for the other computer with my IP address and the servername.
Does anyone know why and how to fix this problem?
I am using xampp - apache.
There is nothing like a localhost in a network. You connect a host at a network adapter. The localhost is a virtual adapter to allow connections at one host without specifying the IP address of a network card. Each host has it's own localhost.
You must use the IP address of the adapter that is used to connect to the network, usually the one and only network card.
If you have DNS support you should use the host name instead of the IP address, because the IP address can change if it's assigned by DHCP.
Update 4/12:
I'm using Vigor 2910 (router) to connect to my server. I found out that I cloud view the website correctly by external ip from other PC. But everytime I try to login the browser redirects me to internal ip. Is there any settings I should know besides port forwarding 80 and 443 from external ip to internal ip?
I found a way to fix the problem.
My problem is, when I use another PC connected to different router trying to connect to the PHP site with external IP, it always redirect me to internal IP address.
For example:
Entering site https://140.XXX.XX.XXX
After clicking any objects on the site, then I was redirect to https://192.XXX.X.XXX
Cause I'm connected to the router that I didn't notice it not only affects my PC but also in PHP config.php. In config.php, the redirecting address is written in internal IP instead of external IP.
Just simply change the IP to external IP, then it works.
I tried putting my IP from whatismyip.com in the urlbase of Bugzilla but it did not work. I wasn't able to create a new account for my team mate, and he wasnt able to access the server by typing the my ip address in his browse. And surely, when I connect again, my IP address will change. Do we have to buy a www address to host Bugzilla?
You can setup a dynamic dns service, for example via http://www.dyndns.com or http://www.no-ip.com or http://freedns.afraid.org to solve the changing ip problem without buying a domain (or buying a domain as well, but it's not a requirement).
But the real problem is that your team mate cannot access the server via the current IP address which points to either a misconfiguration of the webserver (listening only on localhost?), to a firewall in between, or most likely, that port forwarding isn't set up in your router for requests coming to your external IP address to be forwarded to the machine where you have Bugzilla set up. Additionally, you must set the urlbase to your local IP address, not to the external IP address, as blak3r says.
Check http://www.portforward.com for instructions on how to do port forwarding. But don't forget that everything mentioned has to be working:
Web server listening to outside requests: This can be tested from the same internal network via the local network IP address (what you see typing in a command line console ipconfig in Windows and ifconfig in Linux). If you can connect from a different machine on the same network via the local IP address, this is solved.
Firewalls (in router and the webserver machine) accepting connections to the web server port: For firewalls in the web server, the same test as above covers it.
Port forwarding so the router forwards the requests received on the web server port to the web server machine: This gets tested in the same way as firewalls in the router, that is, you must have your friend (or yourself from the house of your friend) try to connect to the dyn dns name set up or to the external IP as reported by whatsmyip.org.
This is all assuming your test mate is not on your same network, if he is, just using the local IP address (shown via ipconfig or ifconfig) instead of the external IP address and making sure the first step is covered (web server listening to outside requests) should be enough and nothing else is needed!
You most likely do not have your port 80 forwarded to your machine which is the reason he cannot connect when using the IP that was returned from whatismyip.com.
Assuming you're on a windows box... do
Start->Run->cmd then type
ipconfig
If your address starts with 192...* or 10...* this is your Local Area Network (LAN) IP. If this is the case, then your isp provided you with a router. Look for a setting called port forwarding or "application setting" which allows you to forward all incoming traffic on your router to a particular IP address. Go into your router's configuration settings and make sure port 80 (and maybe 443 if you're using ssl are forwarded to your local ip).
The other problem you mentioned is you do not have a static IP. This is a common problem and no you do not need to buy an address. There are several sites which can provide you a free dynamic dns host. Try no-ip.org.