Trying to open port 80 on the pproxy, not working.

Russ

Lifer
Oct 9, 1999
21,093
3
0
When I start the pproxy, verbose comes up with:

bind(0.0.0.0:80): Address already in use.
Error: Cannot setup additional listener for port 80!


Not running BIND/DNS on this machine. Am running Apache. Yes, I'm logged in as Root. Any ideas? Would port 8080 serve as well?

Russ, NCNE



 

gogeeta13

Diamond Member
Dec 31, 2000
5,721
0
0
i am no expert, but have you made sure there are no other service/scripts/whatever you call em' running? Is the machine being used for anything else?
 

Russ

Lifer
Oct 9, 1999
21,093
3
0
gogeeta13,

There are a few dozen processes running; it's a web and mail server, so there's no way to get around that. The question is, which one is being a bad boy.:)

Russ, NCNE
 

Russ

Lifer
Oct 9, 1999
21,093
3
0
Adul,

I know that. But, I'd like to add it to the pproxy for those people that are dealing with firewall issues. There are other operators running public pproxies with port 80, and serving up web pages.

Russ, NCNE
 

DanC

Diamond Member
Jun 2, 2000
5,553
0
0
Since it was you who called my attention to the directory rights issue.... I'll not mention that one. ;)
 

Jay

Golden Member
Oct 9, 1999
1,728
7
81
Russ,

Port 80 cannot be used if you have a webserver running on the same machine. The people who do have port 80 open and are running stats are either using a seperate machine to host the stats, or are using port 8080 for their stats like Thecool1.

Jay
 

Russ

Lifer
Oct 9, 1999
21,093
3
0
Well, that sucks a big banana. Would allowing connections on 8080 help people with firewalls? Or another port?

Russ, NCNE
 

TwoFace

Golden Member
May 31, 2000
1,811
0
0
Port 23 (telnet) is quite often open, which should work fine if you don't allow outsiders to telnet to ya (you shouldn't ;)). If you don't have a public FTP server port 21 is quite a good choice too. With a proper portforwarder you shouldn't have any trouble forwarding those to the pproxy machine's port 2064, so the telnet and/or ftp port will still be available for local use on that machine ;)

Just ideas of course :)

With love and respect your fellow TA member

Two-FaceMy stats:
RC5
OGR-25
Seti
Gamma Flux
 

Paulson

Elite Member
Feb 27, 2001
10,689
0
0
www.ifixidevices.com
never can you have 2 ports used at the same time russ...

Just like you can't have 2 of the same ip addresses. There's conflicts if you do :)

doesn't it give you a list of ports on your router Russ? like linksys gives some common port #'s
 

Russ

Lifer
Oct 9, 1999
21,093
3
0
TwoFace,

Not allowing Telnet access, and don't have FTP running as I just use Samba across the network for any file uploads to the server. Which would be better for people stuck behind firewalls; 21 or 23? Or maybe just open both?

Paulson,

Did you want me to pick apart what you just posted, or should I save you the embarassment?;)

Russ, NCNE
 

TwoFace

Golden Member
May 31, 2000
1,811
0
0
Russ: I'd open both and forward them to port 2064 on the pproxy box if possible, if you can't do that and you don't use those ports just forward them straight and make the pproxy listen on those ports as well (should be pretty easy if I remember correctly) :)

With love and respect your fellow TA member

Two-FaceMy stats:
RC5
OGR-25
Seti
Gamma Flux
 

Viztech

Platinum Member
Oct 9, 1999
2,807
0
0
Russ-

You might want to have another TACube member that is on cable or DSL (but not running a webserver) host a port 80 Cube Proxy. They can forward the work to the standard port on the Cube proxy, and perhaps they could forward the daily logs to you which could then be imported into your logs for the hostname stats.

Clueless has run a port 80 proxy for the TeAm for quite a long time, hosted on a cable connection. I don't believe that they ever used log forwarding however.

viz
 

Russ

Lifer
Oct 9, 1999
21,093
3
0
Okay, port 21 and 23 now open for business.:)

Viz,

Actually, I could do a little reconfiguring of the network, and just put it on the other server with a different IP address. But to be honest, I don't really want to work that hard.:D

Russ, NCNE
 

Viztech

Platinum Member
Oct 9, 1999
2,807
0
0
Don't want to work that hard..LOL.

Shoot, you've got the answer right there if you have multiple public IP addresses, one for the proxy and one for stats/webbox.

viz
 

Michael

Elite member
Nov 19, 1999
5,435
234
106
Russ,

Linux and Apache support virtual IP addresses. You might be able mto switch your web server IP without a great deal of work and then use the "normal" IP address for the pproxy.

Michael (in Korea right now)
 

Russ

Lifer
Oct 9, 1999
21,093
3
0
Michael,

Already have some of my statics assigned as virtuals. But, each of them has a web site, so port 80 is already occupied. The only extra IP address I have is on the other server.

Russ, NCNE