Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > accessing webmin from another computer

accessing webmin from another computer
Thread Tools
Forum Regular
Join Date: Mar 2001
Location: Brookfield, CT, USA
Status: Offline
Reply With Quote
Jan 15, 2004, 11:16 AM
 
Ok, so I downloaded and installed webmin. I can get to it on the local machine by typing http://localhost:10000/ but when I try to access it from another machine, I cannot. The machine is up and running, and the web sites I have running on it are accessible.

The machine is running in my office right next to me. The computer I'm using to connect to it is connected to the same desktop miniswitch.

What could it be?
     
Senior User
Join Date: Jan 2001
Location: Mahwah, NJ USA
Status: Offline
Reply With Quote
Jan 15, 2004, 11:27 AM
 
Should be as simple as:

http://IPaddress.of.webmin.host:10000

Webmin does not use the regular Apache http server. It runs its own miniserver (called miniserv.pl). This is cool because one can then stop-configure-restart the regular Apache webserver all via Webmin.

At some point you will want to install the SSL capability for Webmin. Then you can *securely* access the all the Webmin over the internet.
-DU-...etc...
     
scip  (op)
Forum Regular
Join Date: Mar 2001
Location: Brookfield, CT, USA
Status: Offline
Reply With Quote
Jan 15, 2004, 11:34 AM
 
Originally posted by utidjian:
Should be as simple as:

http://IPaddress.of.webmin.host:10000

Webmin does not use the regular Apache http server. It runs its own miniserver (called miniserv.pl). This is cool because one can then stop-configure-restart the regular Apache webserver all via Webmin.

At some point you will want to install the SSL capability for Webmin. Then you can *securely* access the all the Webmin over the internet.
Yeah, as the config script says, I was hoping it would be this simple.
     
Senior User
Join Date: Jan 2001
Location: Mahwah, NJ USA
Status: Offline
Reply With Quote
Jan 15, 2004, 12:18 PM
 
Originally posted by scip:
Yeah, as the config script says, I was hoping it would be this simple.
Gosh you are having way more than your share problems with all this stuff. :-(

OK... take a look at:

ps aux | grep perl

You should get something like this:
Code:
root 899 0.0 0.1 3540 716 ?? Ss Sun05PM 0:08.41 perl /usr/local/webmin-1.121/miniserv.pl /etc/webmin/miniserv.conf
If you get nothing webmin is not running.
The /etc/webmin/miniserv.conf file is the configuration file.

Another possibility is that you may have some sort of firewalling turned on. Turn it off for now. Yet another possibility is that where you work there is a proxy server that you are trying to connect to the Webmin host through. It may be blocking that IP or port. Try setting your proxy configuration in your browser to bypass certain subnets, IPs, or just turn it off (if you can). Yet anothe thing to check is the IP Access Control in Webmin. It should, by default allow connections from anywhere. On your Webmin host got to:

Webmin --> Webmin Configuration --> IP Access Control and click on the radio button for "Allow from all addresses". Read the warning at the top. You will most likely want to make this more restrictive later on.

Hope that helps.
-DU-...etc...
     
scip  (op)
Forum Regular
Join Date: Mar 2001
Location: Brookfield, CT, USA
Status: Offline
Reply With Quote
Jan 15, 2004, 12:46 PM
 
Originally posted by utidjian:
Gosh you are having way more than your share problems with all this stuff. :-(

OK... take a look at:

ps aux | grep perl

You should get something like this:
Code:
root 899 0.0 0.1 3540 716 ?? Ss Sun05PM 0:08.41 perl /usr/local/webmin-1.121/miniserv.pl /etc/webmin/miniserv.conf
If you get nothing webmin is not running.
The /etc/webmin/miniserv.conf file is the configuration file.

Another possibility is that you may have some sort of firewalling turned on. Turn it off for now. Yet another possibility is that where you work there is a proxy server that you are trying to connect to the Webmin host through. It may be blocking that IP or port. Try setting your proxy configuration in your browser to bypass certain subnets, IPs, or just turn it off (if you can). Yet anothe thing to check is the IP Access Control in Webmin. It should, by default allow connections from anywhere. On your Webmin host got to:

Webmin --> Webmin Configuration --> IP Access Control and click on the radio button for "Allow from all addresses". Read the warning at the top. You will most likely want to make this more restrictive later on.

Hope that helps.
I work at an ISP...we do not have a firewall or proxy server.

Allow from all addresses was set by default.

If webmin wasn't running, then I wouldn't be able to access it at all, even from the localhost, correct?

This is really a stumper.

I'd also like to give a shout out to all the helpful people on this board. As a working professional, I really need a resource to go to when I've exhausted all other avenues (the docs, web searches, etc.) and at my wits end when trying to get something to work.

Thanks to all that have helped.

Steve
     
Professional Poster
Join Date: Apr 2001
Location: Long Beach, CA
Status: Offline
Reply With Quote
Jan 15, 2004, 09:14 PM
 
Can you access other services on the machine that is giving you problems? Can you ssh into that machine, etc...

If not, you probably have networking problems. If you can ssh in, try doing a port scan and see if the webmin port is open.

ACSA 10.4/10.3, ACTC 10.3, ACHDS 10.3
     
scip  (op)
Forum Regular
Join Date: Mar 2001
Location: Brookfield, CT, USA
Status: Offline
Reply With Quote
Jan 16, 2004, 09:16 AM
 
Originally posted by Detrius:
Can you access other services on the machine that is giving you problems? Can you ssh into that machine, etc...

If not, you probably have networking problems. If you can ssh in, try doing a port scan and see if the webmin port is open.
Yes, apache, ssh, etc. is running and accessible. I just figured it out. Turns out it WAS a firewall issue...the built-in firewall in Jaguar!!! I forgot that Jag automatically turns on the software-based firewall when you turn on services and creates rules to allow access for those services.

I installed webmin on another machine running Panther, and was able to access it fine, so I know it wasn't anything to do with my network. It seems that Panther does NOT turn on ipfw by default when services are enabled, whereas Jag does. I guess this is a decision Apple made for whatever reason...

Thanks again to all!

Steve
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 06:41 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2