Koozali.org: home of the SME Server

port 80 is blocked.

Eli

port 80 is blocked.
« on: August 24, 2003, 02:16:20 AM »
I want to setup a web server but my isp is blocking port 80. What should I do? Please explain as easy as possible.

Thanks in advance.

Guck Puppy

Re: port 80 is blocked.
« Reply #1 on: August 24, 2003, 03:50:18 AM »
Eli wrote:
> I want to setup a web server but my isp is blocking port 80.
> What should I do? Please explain as easy as possible.

Come on now... first visit Google.
http://www.google.com/search?q=isp+blocks+port+80

The basics are that you have to choose :

- Host your webserver on an unblocked port (e.g. 8080) and then publish http://www.yourdomain.com:8080/ as your website address.

- use a service that will redirect traffic from http://www.yourdomain.com/ to http://www.yourdomain.com:8080/ (e.g. http://www.dyndns.org/services/mywebhop/faq.html )

Either way, you will have to change the apache listen port. Search this forum for "listen port" (e.g. http://forums.contribs.org/index.php?topic=3416.msg11536#msg11536)

> Thanks in advance.
Why presume? Why not thank after there's something to thank for?

G

del

Re: port 80 is blocked.
« Reply #2 on: August 24, 2003, 08:09:29 AM »

Eli

Re: port 80 is blocked.
« Reply #3 on: August 24, 2003, 11:07:59 AM »
Problem is I don't know how to get to the templates and how I would change it. I don't understand it. That is why I made my own post rather than following one.

And now I thank you for your help.

Eli

Re: port 80 is blocked.
« Reply #4 on: August 25, 2003, 10:38:16 PM »
I did the templates. So now I should get my site by adding:8080. Is this correct? If so I can't get my site. Is it possible that port 8080 is closed?

-Eli

Eli

Re: port 80 is blocked.
« Reply #5 on: August 25, 2003, 10:39:43 PM »
I did the templates. So now I should get my site by adding:8080. Is this correct? If so I can't get my site. Is it possible that port 8080 is closed?

-Eli

Guck Puppy

Re: port 80 is blocked.
« Reply #6 on: August 25, 2003, 11:00:21 PM »
Eli wrote:
>
> I did the templates. So now I should get my site by
> adding:8080. Is this correct? If so I can't get my site. Is
> it possible that port 8080 is closed?

the nmap tool is very useful to tell which ports are in what state.

If you followed Dan's howto step-by-step, including expanding the templates and restarting the web server, then your server should be listening on port 8080.

First have a check of the generated file /etc/httpd/conf/httpd.conf

Look for :
- Listen 0.0.0.0:8080
- NameVirtualHost 0.0.0.0:8080
- several ""  references.

If you *don't* see references to the new port in httpd.conf then that means the custom templates and new property you added to the system did not take.

If you *do* see the appropriate port references, try the howto again, this time making a new port, say 8088 and try accessing on that one.

G

Guck Puppy

Re: port 80 is blocked.
« Reply #7 on: August 25, 2003, 11:44:06 PM »
Guck Puppy wrote:
> Look for :
> - Listen 0.0.0.0:8080
> - NameVirtualHost 0.0.0.0:8080
> - several ""  references.

Sigh. Forum strips out items inside angle brackets. Let me try that last one again.

- several "<VirtualHost 0.0.0.0:8080>" references

Guck Puppy

Re: port 80 is blocked.
« Reply #8 on: August 25, 2003, 11:45:20 PM »
Guck Puppy wrote:
> Sigh. Forum strips out items inside angle brackets. Let me
> try that last one again.

OK. so the forum doesn't. But it does from the emails it sends out from the phorum :P

Dan Brown

Re: port 80 is blocked.
« Reply #9 on: August 26, 2003, 12:03:35 AM »
Guck, note that the HOWTO doesn't work for recent versions of SME, as they've changed the templating system.

Guck Puppy

Re: port 80 is blocked.
« Reply #10 on: August 26, 2003, 12:33:57 AM »
Dan Brown wrote:
> Guck, note that the HOWTO doesn't work for recent versions of
> SME, as they've changed the templating system.

Bugger. Well, I think knowing the SME versions it applies to and not trying it out on incorrect versions still falls under the heading of "Following the how-to" :)

So Eli, did you follow that part of the howto? ;)

Charlie Brady

Re: port 80 is blocked.
« Reply #11 on: August 26, 2003, 02:01:29 AM »
Dan Brown wrote:

> Guck, note that the HOWTO doesn't work for recent versions of
> SME, as they've changed the templating system.

No, the system is unchanged, but the templates have changed. :-)

I think you'll find there's an easier way to "listen on a different port", with no template changes. Someone should try port forwarding.

Charlie

Eli

Re: port 80 is blocked.
« Reply #12 on: August 26, 2003, 10:32:32 AM »
I doesn't say which versions of sme it works for. But when I had to edit the 80Aliases00 template, there was no such file and it made a new one. So instead of editing it, I filled in everything including the unbolded text. I just found another post saying it isn't for sme 5.6. Bugger indeed.

Two things. Does anyone know how to change the listen port on sme 5.6?
Where can I learn about templates?

Thanks for all your help so far :-)

Eli

Re: port 80 is blocked.
« Reply #13 on: August 26, 2003, 05:20:41 PM »
And one other thing. What is the mail entry as in "lib/sendmail" for a cgi script using sme to send the mail.