how to access localhost url from other PC's on windows 10? - mysql

I have developed a website using netbeans 8.2, Xampp MySQL, tomcat 8. Now I want to access it from other systems or PC's. My localhost url can be accessed from my PC only. I tried by changing hosts file on local computer C:\Windows\System32\drivers\etc\hosts but hosts file is only accessible for my PC, not for other PC's. I am using this website for internal netwrok only and my IP address is static. I tried to add this line into my hosts file.
10.226.43.47 dms.zf.com

Related

Chrome 109 / Edge 109 howto access localhost domains

in the last days chrome and edge stopped working to access localhost domains o my windows machine. Firefox is still able to, so I guess it has something to do the browser engine.
My setup: I have a vm started with vagrant on hyper-v. Inside the vm is my apache webserver.
On my windows 11 operating system the hosts file points my local development websites to the ip of the vm. This was working for the last years without any problem.
DNS over https is not enable in Edge or Chrome.
I already have tried using different local domains like localhost or .local. without success
I have tried ipconfig /flushdns without success
I reinstalled Chrome without success
My host file is
172.28.148.95 workspace.localhost.de
127.0.0.1 workspace.localhost.de
What can I do, that Edge and Chrome can access local domains?

No server.conf but Openvpn Access Server works fine on Ubuntu 16.04

I was successfully able to install and run OpenVPN Access server (2.8.3) on my VPS hosting. I am using the GUI access server.
I am able to connect and securely browse through the internet using OpenVPN client on macOS.
The problem I seek solution to is that I am not able to find the server.conf file on my server for the OpenVPN and yet everything works great!
I have searched the system for the file using (find) and yet no luck.
why is that happening? even the sample files are not configured, is there a default config file embedded someplace else?

Localhost not loading on mobile device

As the title states, my iMac won't allow mobile devices to connect to the web server. I can access localhost via
localhost
192.168.1.187:1717
These both work on my iMac and also my MacBook however the funny/weird issue is that the mobile device won't load it. I mean the files are hosted on the iMac and are accessible completely (both on localhost and the IP address) and the site also works on my MacBook (On the IP address) however my mobile device won't load it. Why?
I've disabled my firewall, changed ports through XAMPP and messed around with Apache Config but no to avail.
(This is definitely not a duplicate as EVERY question I've read the IP address doesn't work on the local machine but for me it does)

how to run polymer web app on localhost (xampp)

I'm trying to run polymer on a local machine with XAMPP but, it seems like it can't run it,
It shows nothing ,but when I inspect console on the page in browser , it's giving this error :
Failed to load resource: net::ERR_FILE_NOT_FOUND
file:///C:/Users/Home/Desktop/polymer/iron-component-page/iron-component-page.html
I'm using XAMMP on windows (Apache port : 80)
Move your project into the XAMMP htdocs folder and you will able to use it from the http://localhost/myproject address. The file:// protocol is not for the web.
If you polyserve it then the url should be: http://localhost:8080/ or any port what you defined with -p.

Looking for a (httpd like) way/server to access static files (html/images etc) from my windows pc using http

I have a static html project which contains some files I want to have access to using my cell phones or laptop's internet browser.
The concept is I have a folder in my pc which contains the files.
I would hit my computer's IP through the web browser of my laptop
(like http://192.168.1.5/myProject/index.html)
and then a server (like apache httpd works for redirecting to servers) would return me the wanted file.
NOTES:
-It should be EASY and FAST to install and Configure.
Any suggestions? Most acceptable answers are for Windows and then I accept for mac!
Have you tried xampp for an apache server? There is a portable app version as well.
Also iisexpress is a nice standalone version of IIS that runs under current user profile. Not sure if there are any limitations w the bindings tho.