Network discovery and file sharing

February 6, 2011 at 08:18:06
Specs: Windows XP, 3.0Ghz,2Ghz
It's been a while since I set up a network. I recently set up a wireless network but up until now I have used only one computer at a time. Now, I want to be able to share files between computers since I want to set up a server and get access to it over my network. First, I thought both computers would have a separate IP address. I went to What's My IP Address and was surprised to find that both computers had the same IP address, one was connected wirelessly and the other was wired. Anyway, what is involved in setting up network discovery and file sharing? I want to be able to see the other computer in My Network Places also. But maybe I may be on the wrong track? I want to set up a server with a website on it and connect to the site thru the other computer but it seems this can't be done since both computers will get the SAME IP address when the are on at the same time? Can someone clear me up on this? Thanks. The two computers are running XP and Vista.

See More: Network discovery and file sharing

Report •


#1
February 6, 2011 at 14:30:30
Your network will use the common external IP of the modem to access the Internet, but on the LAN side each appliance will use a unique internal IP, usually in the 192.168.1.xxx range. Usually your router will assign the IPs dynamically. What you need to do is establish a common Workgroup under System Properties, and then start Sharing folders. In Vista you also will have to set permissions for the sharing. Once that is done you should see the folders in Network Places, and you can map them as a drive if that's desirable. You may also have to play with the firewalls.

Report •

#2
February 6, 2011 at 16:24:48
What if I set up a server on one of the PCs and then try to access my site from another PC? What happens if they BOTH use the same external IP address? I know I can test the site on the same PC using localhost, but what if I want to try to access from another PC on the network? Will I find the server or not? Or will this only work if I access from another PC completely out of the local network?

Report •

#3
February 6, 2011 at 16:28:27
Let me be a little clearer. I want to set up a server on one PC and put a web site on it. I want to access the web site, through the internet, with another PC. Will this work if they both have the same external IP address? Or are the internal addresses differentiated in some way? Thanks.

Report •

Related Solutions

#4
February 7, 2011 at 19:53:53
To access the web server from within the intranet, you would put the host name or local ip of the server in the browser, as in http://myserver, or http://192.168.1.10, as examples.

To access it from outside the LAN, you need to go into the router and forward the http port you want to use to the server, so the router knows where to send the request.


Report •

#5
February 9, 2011 at 06:33:01
paul1149,

Thanks for your response! So, if both computers are using the same external ip address and I want to test from outside the LAN, it will know which address to route it to because the server will be on a port that I assign? I think I can even specify the port in the address, right? http://192.168.1.10:1000/website/we... for inside LAN
http://xxx.xxx.x.x:1000/website/web... for outside

The server will be listening on port 1000 so even if the two PCs have the SAME external ip address, the request will be routed to the ip address listening on port 1000. Am I correct?


Report •

#6
February 9, 2011 at 16:52:21
Yes, you can spec the port as a suffix to the ip number.

From the outside, you need to port-forward because it cannot be guaranteed that only one machine is listening on port 1000. And you may not want the request to go to other machines.

It would make an interesting experiment not to forward and see if the router broadcasts the request in an effort to find a listening port somewhere. If not, then you could forward that port request to the desired machine. I'd be interested in what you find.


Report •


Ask Question