LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-09-2002, 11:31 PM   #1
vbp6us
Member
 
Registered: Sep 2002
Location: Redding, CA
Distribution: SuSE
Posts: 253

Rep: Reputation: 30
Unhappy PORTS 80 and 8080 BLOCKED!


Hi,

I just got done talking to Roadrunner's tech and he said ports 80 and 8080 are blocked. What ports can i use for my webserver then? I need really unique ports. I changed my ports to some randome numbers and it didnt work. I tried 8081, 8088, 81 and any other port that is probably thought of. What am i missing? When i go to my url...it says "connection refused ...."

DAMN. What alternatives do i have??
 
Old 10-10-2002, 12:47 AM   #2
moses
Senior Member
 
Registered: Sep 2002
Location: Arizona, US, Earth
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152

Rep: Reputation: 50
Port 81 is commonly used for testing webservers (unless the machine is
running a nameserver).
Look in the file /etc/services, this will tell you which ports are currently
reserved. Most other ports are available, though this isn't certain.

Telling your webserver which port to listen to is dependent on the server.
For example, apache probably has a file called "httpd.conf" in /etc/apache.
This file can be edited to tell apache to listen on another port. You need
to read the documentation for your specific web server before you start
mucking around with the configuration files. . .

You say you changed your ports to some random numbers, what do you
mean? where did you change them? how did you change them? are
those ports blocked as well? have you tried connecting to localhost:port#
with your web browser?
 
Old 10-10-2002, 01:04 AM   #3
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 271Reputation: 271Reputation: 271
Re: PORTS 80 and 8080 BLOCKED!

Quote:
Originally posted by vbp6us
Hi,

I just got done talking to Roadrunner's tech and he said ports 80 and 8080 are blocked. What ports can i use for my webserver then? I need really unique ports. I changed my ports to some randome numbers and it didnt work. I tried 8081, 8088, 81 and any other port that is probably thought of. What am i missing? When i go to my url...it says "connection refused ...."

DAMN. What alternatives do i have??
Yeah, sometimes they aren't blocked depending on where you live at, but be careful, they catch you running a webserver, they will dosconnect you for abuse.

But one trick I know of, make your webserver seem to be non-public if you get it going by making it prompt for a password when accessing it. This is one way around, its a hassle I know but also to warn you, even if you get it going on another port, they do scan other ports, so if they catch you, they will shut you down for abuse.

What type of site are you wanting it to be ? A personal or something else ? Also, when trying to get access after changing ports, did you specify the port after typing the address or IP number ??

BTW, I work for Roadrunner, that's why I know all these things.. but lucky me, my last day is this Sunday, starting a new job cause I got tired of all the BS they had there. They started making us take cable tv tech calls a few months ago, only gets worse everyday now. Its not support anymore, more of a whiny complaint line.

But I'll be starting at www.digitalmotorworks.com for anyone who wants to know. A little more money doing support, not what I want to do, but I have a better chance of moving up to other departments.
 
Old 10-10-2002, 11:37 AM   #4
vbp6us
Member
 
Registered: Sep 2002
Location: Redding, CA
Distribution: SuSE
Posts: 253

Original Poster
Rep: Reputation: 30
Thanks

Quote:
You say you changed your ports to some random numbers, what do you mean? where did you change them? how did you change them? are those ports blocked as well? have you tried connecting to localhostort#
with your web browser?
Im changing these ports by editing httpd.conf of course. How else would i do it w/ an apache server? When i insert the line "Listen 8081" i still leave my Listen 80 right? Or do i have to remove it for port 8081 to work? All im doing is adding lines...i havent removed any other Listen lines.
Please remember im a . I know enough to edit the conf file and start and stop the server.

Quote:
Yeah, sometimes they aren't blocked depending on where you live at, but be careful, they catch you running a webserver, they will dosconnect you for abuse.
You dont work in San diego do you? NM...Austin TX, Damn. I dont really care if they do disconnect me...i'll just sign up w/ DSL and get a static ip along w/ it. I know dsl isnt as "stable" as cable but whatever. I dont think dsl companies block ports.

Quote:
make your webserver seem to be non-public if you get it going by making it prompt for a password when accessing it. This is one way around, its a hassle I know but also to warn you, even if you get it going on another port, they do scan other ports, so if they catch you, they will shut you down for abuse.

What type of site are you wanting it to be ? A personal or something else ? Also, when trying to get access after changing ports, did you specify the port after typing the address or IP number ??
I don't know if i want to put a password. Its going to be a personal site. Nothing going to be sold. I was on irc last night and some guy said to used port 23048. Is that a real port? Is it a safe port? Since you work for RR...do you know if you guys block this port or if any of your branches block it? Oh and can you give me a list of good ports, open ports to use or try since your a RR employee you have access to viewing ports and stuff.
When trying to access my server i type what i typed in my DNS control center at afraid.org. i put mydomain.com at the DNS site but when i type it in the browser i put mydomain.com:81 or whatever port im trying. Oh one more thing. When i do localhost in the browser it gives me "connection refused" also. 127.0.0.1 however works and goes to SUSE's webserver test page. I checked my conf file and 127.0.0.1 is next to localhost so they are the same thing! I have no idea what is going on. That could actually be the problem huh? Some thing about localhost not sounding right? Thats my guess. What do you guys think?

Thanks

Last edited by vbp6us; 10-10-2002 at 11:44 AM.
 
Old 10-10-2002, 11:50 AM   #5
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 271Reputation: 271Reputation: 271
Well, unfortunately I work in Austin. They don't block any ports except 80 so I am unsure of what ports they block in San Diego. Not sure about 23048, ports range from 0 to around 65,000. I'm sure it would work but it seems more of a hassle to me cause then you would have to include the port number with your address.

Try removing the listen 80 in your config and try maybe ports 81 or so. Also did you just register this site and did you setup your own DNS or have some sort of DNS pointing to your IP number ?? Your probably given a dynamic which can change, might want to look into www.dyndns.org or something like that to host your own site with a dynamic IP.
 
Old 10-11-2002, 07:55 PM   #6
vbp6us
Member
 
Registered: Sep 2002
Location: Redding, CA
Distribution: SuSE
Posts: 253

Original Poster
Rep: Reputation: 30
New problem:

when i try http://127.0.0.1 or http://localhost it gives me "connection refused."

IF you want to see my httpd.conf then here:

linux:/home/walham # /etc/init.d/apache status
Checking for httpd: running

Heres ALL of my httpd.conf in screenshots from the beggining to the end:

http://www.imagemagician.com/images/skunk2/part1.png
http://www.imagemagician.com/images/skunk2/part2.png
http://www.imagemagician.com/images/skunk2/part3.png
http://www.imagemagician.com/images/skunk2/part4.png
http://www.imagemagician.com/images/skunk2/part5.png
http://www.imagemagician.com/images/skunk2/part6.png
http://www.imagemagician.com/images/skunk2/part7.png
http://www.imagemagician.com/images/skunk2/part8.png
http://www.imagemagician.com/images/skunk2/part9.png
http://www.imagemagician.com/images/skunk2/part10.png
http://www.imagemagician.com/images/skunk2/part11.png
http://www.imagemagician.com/images/skunk2/part12.png
http://www.imagemagician.com/images/skunk2/part13.png
http://www.imagemagician.com/images/skunk2/part14.png
http://www.imagemagician.com/images/skunk2/part15.png
http://www.imagemagician.com/images/skunk2/part16.png
http://www.imagemagician.com/images/skunk2/part17.png
http://www.imagemagician.com/images/skunk2/part18.png
http://www.imagemagician.com/images/skunk2/part19.png
http://www.imagemagician.com/images/skunk2/part20.png
http://www.imagemagician.com/images/skunk2/part21.png
http://www.imagemagician.com/images/skunk2/part22.png
http://www.imagemagician.com/images/skunk2/part23.png
http://www.imagemagician.com/images/skunk2/part24.png
http://www.imagemagician.com/images/skunk2/part25.png
http://www.imagemagician.com/images/skunk2/part26.png
http://www.imagemagician.com/images/skunk2/part27.png
http://www.imagemagician.com/images/skunk2/part28.png
http://www.imagemagician.com/images/skunk2/part29.png
http://www.imagemagician.com/images/skunk2/part30.png
http://www.imagemagician.com/images/skunk2/part31.png
http://www.imagemagician.com/images/skunk2/part32.png
http://www.imagemagician.com/images/skunk2/part33.png
http://www.imagemagician.com/images/skunk2/part34.png
http://www.imagemagician.com/images/skunk2/part35.png
http://www.imagemagician.com/images/skunk2/part37.png
http://www.imagemagician.com/images/skunk2/part38.png
http://www.imagemagician.com/images/skunk2/part39.png



If your curious, my apache is running. I do /etc/httpd/apache status and it says running.




Thanks.
 
Old 10-12-2002, 01:12 AM   #7
moses
Senior Member
 
Registered: Sep 2002
Location: Arizona, US, Earth
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152

Rep: Reputation: 50
I use:
/usr/sbin/apachectl start
/usr/sbin/apachectl stop
/usr/sbin/apachectl restart

to start, stop and restart the apache webserver respectively.

My httpd.conf file is:
http://pirlwww.lpl.arizona.edu/~mmilazzo/httpd.conf

I can connect to both port 80 and 81 w/out a problem using:
http://localhost:80
http://localhost:81

Do you have port XX blocked on your computer (via firewall or inetd or
xinetd or hosts.deny)?
 
Old 10-12-2002, 02:35 AM   #8
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 271Reputation: 271Reputation: 271
Quote:
Originally posted by vbp6us
New problem:

when i try http://127.0.0.1 or http://localhost it gives me "connection refused."

IF you want to see my httpd.conf then here:

linux:/home/walham # /etc/init.d/apache status
Checking for httpd: running

Heres ALL of my httpd.conf in screenshots from the beggining to the end:
You know, you could have just done a:

cat httpd.conf > apache.txt

Or most browsers actually read the .conf files with no problem as text files, could have just uploaded the httpd.conf file for viewing as is..

And linked it to a text file for web viewing. 39 screenshots had to take you a while.
 
Old 10-12-2002, 10:56 PM   #9
Syncrm
Member
 
Registered: Aug 2001
Location: Lansing, Michigan
Distribution: slackware8+
Posts: 472

Rep: Reputation: 30
omg... i'd love to help, but there's no way i'm sitting here on dialup (at my parents', currently) and going through all those.

like tricky said, most browsers can read .conf or any type of text file without a problem. just put your httpd.conf file online somewhere so we can take a look at it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting 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



Similar Threads
Thread Thread Starter Forum Replies Last Post
FC4 Ports Blocked dokkah Fedora 2 11-18-2005 05:38 AM
Ports Blocked spaceballs Slackware 4 05-02-2005 09:42 PM
All ports blocked, but iptables not installed jdupre Linux - Networking 3 11-02-2004 04:47 PM
Find Blocked Ports on Network artielnx Linux - Newbie 2 09-30-2004 03:01 PM
getting by blocked ports niehls Linux - Networking 1 07-06-2003 03:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration