You may still need to configure any software firewall that is running on each PC to always accept traffic from other PCs on the same network, but other than that and as long as you haven't any IP address conflicts (each PC needs to be given a unique IP address) you should be good to go. You can also forget about the DNS server addresses, because you won't require DNS resolution for what you're doing, and in any event, you won't have a DNS server running at those addresses (or indeed anywhere) on your network. (Subnet mask 255.0.0.0), but this is by no means necessary. When you scroll down youll see your local IP address, other network information, and what appears to be a MAC address. If you’re more of a technical user, you can opt to run Terminal to find out your (local) IP address using the command ipconfig getifaddr en0. To find your MAC address and local IP on an iPhone or iPad, open up the Settings app, tap 'Wi-Fi,' then tap the 'i' button next to your Wi-Fi network. Click on it and you will be able to see more information, including the device’s MAC address. You might want to use the address range 10.0.0.0 – 10.255.255.255 as this is reserved for private networks and is non-routable. A little lower, and to the right, you will be able to see the Options button. 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.Click to expand.If you're intending on LAN only connections using a network switch, then you can forget about port forwarding and DMZs as they are a router/hardware firewall function and only apply to traffic coming in from the internet which you won't have if you're just connected via a network switch. Or if you want to listen on all address bind to 0.0.0. You should be able to change the listen address to be 127.0.0.1 as opposed to the name. My guess is that it is binding to ::1 (IPv6 localhost). # prevent Apache from glomming onto all bound IP addresses (0.0.0.0) How are you binding to the address in your app. # 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). html” and saved it to that directory and when I browsed to it again, I was able to see index.html rendered correctly. I want to connect to my local Web Server (NodeJS server) which runs on my MacBook with my iPhone. 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. I did the same on my mac, and it is not working. The problem is, on the PC in my office, I set the 127.0.0.1 point to localhost in the system host file, then I can use localhost/admin to access the application after I started tomcat. OK, I tested browsing to the directory on my mac (from the pc). I am using VPN to connect the tomcat database in my office, everything looks fine. 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. 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. 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).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |