Share xampp on lan - apache

I just installed XAMPP 7.2.5 on my Windows 10 x64 computer.
When I type localhost in my browser, i go into XAMPP dashboard page and anything is OK.
I want to access dashboard page (htdocs folder actually) from other devices in same network (LAN), but cannot do this!
I have static IP address on this PC (192.168.1.100), when i type this IP address in browser of my Android phone (or another windows pc on local network), and get this error: "192.168.1.100 is unreachable"
I tried this solutions but not helped:
Turn off windows defender firewall (I have not any Antivirus but
Default windows defender)
Add exception for tcp 80 port to inbound firewall rules
I search the internet and stackoverflow for 5 hours but noting found!
I tried lot of solutions about httpd.conf but nothing help me.
EDIT
I run XAMPP Control Panel with administrator permission, Now i can access htdocs from other windows computer, but still cannot access it from Android device!

It's the solution worked for me:
Disable your UAC from control panel (Low Level - Don't warn).
Run XAMPP control panel as Administrator.

Related

Using WAMP for LAN "website" - How to move out of WWW folder?

I am creating a website (website.local) to be accessed on LAN only. I have created a Virtual host with WAMP64 3.2.6 and can access my website on my local computer.
After disabling windows domain firewall I can access the website through other computers on my LAN by typing in //[my ip address]/websitename.local.
I can move my website files to a different file location from the WAMP default and as long as I update the httpd-vhost.conf file to show the new DocumentRoot and Directory. After doing this I can still access website.local on my local PC. However now any other PC on my LAN can no longer see the website.
Question 1: Why can other PCs on my LAN only see my site if its in the default C:/wamp64/www/ folder?
Question 2: Is it possible to change settings on Windows Domain Network Firewall so that my site is accessible with the firewall on? (I'm a little nervous to leave it off)

Can't access to wamp/xampp apache localhost:80 WINDOWS 10

I recently upgrade my Windows 7 to Windows 10 (9). I need to use Apache server for web development. But for some reason I can't access it via web browser.
First I tried to look in the firewall and antivirus settings. It looks fine. I've tried reinstall xampp then I tried Wamp. Nothing working. I'tried 3 web browsers Edge, Opera, Chrome. Then I tried to find if some application is blocking port 80. So I disabled Skype, IIS. Then I tried different ports 8080,9080,123. Still can't access it via browser, but ping works.
Then I disable preference of Ipv6 and I prefer IPV4 now. I've changed HOSTS file so only 127.0.0.1 localhost is uncommented.
Only problem occurs when I try run wamp my internet access became unavailible and a have to restart computer to access internet again.
Has anyone here have same problem, because according to everything I ve done it seems apache server and network settings is correct.
Maybe problem is somewhere else?
Thank you for your help.
Solved with clean Windows 10 installation.

VPN connection using Hyper-V in Windows 8

How to enable Hyper-V to connect VPN for external internet access in Windows 8?
I'm trying to run Windows phone 8 app using emulator, and while see app in emulator it doesn't connect the VPN to access internet.
Please advice.
Thanks.
MSDN has a troubleshooting page for the Windows Phone 8 emulator. Perhaps you can find related info there. Something like this might help:
Cannot connect to Internet destinations
The Windows Phone 8 Emulator uses the HTTP proxy settings from the host computer. If you can’t access Internet resources from the emulator, check with your IT administrator to make sure that your proxy settings will work with the emulator.
If your network’s proxy servers are unavailable or malfunctioning, it might be possible to restore connectivity for the emulator by disabling automatic proxy detection on the host computer. However this only works in certain network configurations.
To disable automatic proxy detection on the host computer
On the host computer, open Internet Options from the Control Panel. The Internet Properties dialog box opens.
In the Internet Properties dialog box, click the Connections tab.
On the Connections page, click the LAN settings button. The Local Area Network (LAN) Settings dialog box opens.
In the Local Area Network (LAN) Settings dialog box, deselect all the check boxes. Click OK twice to close both dialog boxes.
Restart the emulator and retry the connection.
Also this MSDN blog-post can be helpful: Why can’t the Windows Phone Emulator go online?. Useful part of the article:
As you see, clicking the “>>” on the bar parallel to the Emulator will open a small window with 4 tabs. The last tab is for “Network”. To explain in simpler terms, there are two adapters here – one is for internal use by Emulator and other is for external network connectivity. Each adapter will have an IP address (IPv4) associated with itself. The one of our interest is under Adapter #2.
I have erased out the IPv4 address that is assigned to Adapter #2 (Yellow box), but you find that the IP assigned here starts with 169.254.x.x…., then Bingo! - we have figured out the problem. How?
The IP addresses starting with 169.254.x.x …. Are usually the self-assigned default addresses to a device and not really helpful to get the device to go online. This IP should either be a static IP or the one assigned by the DHCP server (if you have one in the environment) for the device to be able to connect to external networks.
Hope this helps.

blank iis8 localhost page on windows 8 laptop

Good day,
I'm trying to install IIS on windows 8 laptop.
When i type [http://localhost] it gives me a blank page.
I can ping localhost and 127.0.0.1 and get replies and gmail developer tools give me a status of 200 OK.
I have McAfee total protection installed and i disabled the firewall on it. I also disabled windows firewall.
i just uninstalled Skype.
I completely bypassed my router and connected straight from the modem.
I restarted and nothing . Just want to get the default iis page up and running
Nothing is working please assist.
In case HTTP Redirects doesn't work, check to see that Static Content is enabled as well.
Both of these were not enabled on my new Windows 8.1 > IIS 8.5 ...
Both can be enabled here:
Control Panel > Programs > Turn Windows Features On/Off > IIS > WWW Services > Common HTTP Features
I enabled HTTP Redirects, still blank. Then I enabled Static Content and halleluah !
http://forums.iis.net/p/1152570/1882738.aspx

no internet on windows phone 8 emulator

I have installed windows phone 8 SDK and tried running a simple app which embeds a WebBrowser on a page. When I try to run the app in emulator the emulator does not get internet connection. It displays an error message saying "You don't have permission to modify internal Hyper-V network adapter settings required to run the emulator". Im sure my login has admin permissions. My machine is 64bit, hyper v is enabled and Hyper v manager is running, hardware virtualization is enabled in the BIOS settings, DHCP is enabled and its connected to a wired network. I have checked all the system requirements. What ever I do it keeps on giving the same error message. I setup everything in a different machine and tried running the app in that machine. The same error message is displayed in the that machine also. Can anyone tell me how to get it working.
DHCP is enabled and its connected to a wired network
Can you run ipconfig /all on your host machine and post it here please?
seems you have problem with your DHCP or maybe multiple DHCP and conflict.
You need to add your user account as a member of the "Hyper-V Administrators" group on the machine.
Detailed steps:
Hit Windows key + Q and search for "local users and groups". Change the search scope to "Settings". Click "Edit local users and groups".
Expand the "Groups" section. Right-click on "Hyper-V Administrators" and select "Add to group".
Add your user account.
Some connection tools on the host can have negative effects when used with the emulator; I found having cisco VPN client installed on the host prevented the emulator from finding the internet. Other VPN clients may have similar side-effects. I simply uninstalled cisco (the inbuilt windows VPN is fine for what I need) and it worked perfectly.
I've also seen problems where it won't find the internet after the host has been suspended / resumed. In that scenario, it turned out to be bad network drivers. I installed a dedicated Intel NIC (rather than the on-board NIC on the motherboard) - problem solved.
Basically, Hyper-V is a bit fussy.
try refreshing the hyper-v by unchecking and then checking it again,this worked for me.
Steps:
1.control panel>>programs>>Programs and features>>turn windows features on and off>>hyper-v
2.uncheck it and restart the pc.
3.again go to control panel an check hyper-v and restart the pc again.
the try to run the emulator,should work..
another possible reason is that you did not start vs2013 as admin