Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm trying to setup a mail server using citadel, it's installed and running, checked the services and seems to be ok.
Now, I'm supposed to access the web interface using a defined port, let's say port 2000 (was specified at setup), through apache2.
If I do a "lynx localhost:2000" locally, I can access the web interface, but I can't do such from the outside, if I try "http://172.XX.XX.XX:2000" on my web browser it wont load. (This is a remote server)
Firewall is down, I did a "ufw disable", but still can't access it. I might be confused or overlooking something, so I'd greatly appreciate any help.
Thank you.
Last edited by Hioushi; 02-22-2011 at 04:21 PM.
Reason: Added more info
If I do a "lynx localhost:2000" locally, I can access the web interface, but I can't do such from the outside, if I try "http://172.XX.XX.XX:2000" on my web browser it wont load. (This is a remote server)
To rule out the obvious, what do you mean by remote? You reference a 172. address range and most, but not all, of this range is not route-able and you will need to be on the same LAN to access it. So when you say remote, are you on the other side of a router or on the same network? Can you remotely access other ports on this server?
Check the output of netstat to see if the port you opened is bound to the loopback interface or to your Ethernet interface as this could explain localhost connections only. From the remote host you could also run a check with nmap to see if that port is viewed as open.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.