![]() ![]() Is that correct? or do I also need to add the sharename to the end of that? As I did not get any improved results. # prevent Apache from glomming onto all bound IP addresses (0.0.0.0) # Change this to Listen on specific IP addresses as shown below to I added my pc’s ip address to the following lines in Apache’s nf: # Listen: Allows you to bind Apache to specific IP addresses and/or So, I can only assume that I will need to tweak Apache (as you mentioned). I asked that because port numbers differs, you said Angular runs app on port 4200 and you are trying to reach it on the port 8080. Then, you will have to access the Windows local IP address (not 127.0.0. html” and saved it to that directory and when I browsed to it again, I was able to see index.html rendered correctly. Switching to Shared Networking should give your guest Windows OS a local IP address. When I browsed to that folder (from the pc, in a browser), I was shown the directory itself (files and folders) but, I created a file, “index. OK, I tested browsing to the directory on my mac (from the pc). In which case, you will need to tweak the apache setup to listen on other addresses. Wwb_99: Unless the mac is not properly configured to accept http connections from outside of localhost, that is. In which case, you will need to tweak the apache setup to listen on other addresses. If your local site running on the Mac as: Then be sure setup hosts: Open in mac /etc/hosts and write it downlike in my case10.211.55.2 localhost instead of 127.0.0.1 localhost Be sure thats your port is open 8001 in Windows and Mac. Unless the mac is not properly configured to accept http connections from outside of localhost, that is. The best way to do this is to explicitly state “Hey, windows, this is a http connection!” by typing in your windows browser. What you need to do is open a http connection. You are connecting to a file share using \\192.168.0.5\ShareName. So, basically, I wanted to be able to open up the site to test it from the pc, without always having to upload my modified files to my sites remote server for testing. If I was to browse to those files (.php) across the network from the pc, and tried to open one of them, then it would open them with dreamweaver, or my pc’s default app. On the mac, I have all my files (for Apache localhost) in a folder, and have set up a doc root in nf, so, when on the mac, I open up and it shows me the site that I am testing locally. ![]() If you are using Docker-for-Linux 20.10. ![]() Hi… yeah, I already have the mac connected across the network, and have used its ip address to establish the connection (192.168.0.5). Edit: If you are using Docker-for-mac or Docker-for-Windows 18.03+, connect to your mysql service using the host (instead of the 127.0.0.1 in your connection string). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |