in reply to Re^2: The meaning of life, Perl and SML
in thread The meaning of life, Perl and SML

When you go to whatismyip.com it will give you the IP of your ADSL connection, not your computers. You will get the same address for both your laptop and your mini if you try that. To see a computer's local ip you will have to look in your Control Panel, or type ifconfig in a command line terminal (the command is ifconfig on Mac/Linux and ipconfig in Windows). Then you will have the local network address for your computer. Sorry if I'm just telling you stuff you already know, but I wanted to make sure.

You will need to configure the firewall on your router to allow http access from outside connections. Use NAT (network address translation) to put HTTP traffic (port 80) through to the local address of your mac mini. You should set it up so that the mini is always assigned the same IP address, it should be under DHCP settings on your router configuration. Once you configure the firewall properly you may be able to use the 77.250.13.83 address to reach your mini's website even from within your network, but I can't remember the exact router option that is needed to do that kind of thing. I think it may just be called loopback.

I can't remember what the default firewall options were on my own mac (I'm now running Ubuntu on it anyway), but you should also try to access the mini from your laptop while connected to the same network to make sure that the mini is allowing HTTP connections through its own firewall. There are options to allow different kinds of networking through the Mac's firewall in the Control Panel, you should have a look at them.
  • Comment on Re^3: The meaning of life, Perl and SML

Replies are listed 'Best First'.
Re^4: The meaning of life, Perl and SML
by Anonymous Monk on Nov 25, 2008 at 23:04 UTC
    Thank you, blues. No, you are not telling me things I know. In fact, this is probably the point where I got lost so many times in the past. When I now browse through my router settings and books again, things start to make sense. I hesitate to try out all the suggested changes yet, but I'll due that soon. I also have about a hundred new questions now, but let me do my own homework first.

    Allright then, just one more tiny question. You mentioned the ifconfig/ipconfig. My laptop is an Eee PC with its original Xandros Linux, but that hasn't got neither. Doing an apt-get attempt terminates with a message that the package couldn't be found. Is there an alternative?

      ifconfig is typically in /sbin/, which is not in a regular user's PATH by default.  In short, just type the full path /sbin/ifconfig ...