Server Administration
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsOther TechnologiesServer Administration

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
Dell PowerEdge Servers
  #1  
Old March 26th, 2003, 12:51 AM
pickleman78 pickleman78 is offline
Codewalkers Novice (500 - 999 posts)
 
Join Date: Apr 2007
Location: Dallas,TX,USA
Posts: 582 pickleman78 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
Send a message via AIM to pickleman78
Woe is me. Am I the only one who ever has porblems?

ahh. Ok, here is yet another mind boggling dilema, well not for you I'm sure, but foe me it is.

In my previous post we decided, and was confirmed by my ISP that port 80 was blocked. So i moved my server to port 8080. Now people outside can get to it. Bu I am lazy and forgetful, and I find it a pain to have to type 127.0.0.1:8080 to get to it. Is there a way I can get it to listen on port 80 and 8080 so my laziness can continue? After reading the apache documentation it says it can eb done with virtual hosts, but everytime I try virtual hosts I get 404 errors for it. Maybe you can assist me. Thanks in advance

Reply With Quote
  #2  
Old March 26th, 2003, 01:24 AM
Matt Matt is offline
Moderator
Codewalkers Specialist (4000 - 4499 posts)
 
Join Date: Apr 2007
Location: Florida
Posts: 4,158 Matt User rank is Private First Class (20 - 50 Reputation Level)Matt User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 4 h 10 m 23 sec
Reputation Power: 6
RE: Woe is me. Am I the only one who ever has porblems?

You should just be able to add an additional Listen line in your httpd.conf file:

Listen 127.0.0.1:80

You should also have a Listen line for your external IP:

Listen 24.23.12.2:8080

Reply With Quote
  #3  
Old March 26th, 2003, 02:16 AM
postalcow postalcow is offline
Codewalkers Beginner (1000 - 1499 posts)
 
Join Date: Apr 2007
Location: Ford CIty, PA USA
Posts: 1,267 postalcow User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 3
Send a message via Yahoo to postalcow
RE: Woe is me. Am I the only one who ever has porblems?

Matt is correct. But you do not even have to have the ip listed. You can just do a Listen 8080. Apache will answer no matter what IP it came in on as long as it knows to linten to that port.

Reply With Quote
  #4  
Old March 26th, 2003, 12:58 PM
pickleman78 pickleman78 is offline
Codewalkers Novice (500 - 999 posts)
 
Join Date: Apr 2007
Location: Dallas,TX,USA
Posts: 582 pickleman78 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
Send a message via AIM to pickleman78
RE: Woe is me. Am I the only one who ever has porblems?

I have 2 listens going. One on 80, one on 8080, except the one on 80 never gets through.

Reply With Quote
  #5  
Old March 26th, 2003, 01:07 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: Woe is me. Am I the only one who ever has porblems?

Have you stopped and restarted the apache server since adding the 80 listen?

Reply With Quote
  #6  
Old March 26th, 2003, 05:18 PM
postalcow postalcow is offline
Codewalkers Beginner (1000 - 1499 posts)
 
Join Date: Apr 2007
Location: Ford CIty, PA USA
Posts: 1,267 postalcow User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 3
Send a message via Yahoo to postalcow
RE: Woe is me. Am I the only one who ever has porblems?

80 Is blocked by his ISP.

Reply With Quote
  #7  
Old March 26th, 2003, 05:33 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: Woe is me. Am I the only one who ever has porblems?

It shouldn't be blocked on the loop back address though....

Reply With Quote
  #8  
Old March 26th, 2003, 07:11 PM
postalcow postalcow is offline
Codewalkers Beginner (1000 - 1499 posts)
 
Join Date: Apr 2007
Location: Ford CIty, PA USA
Posts: 1,267 postalcow User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 3
Send a message via Yahoo to postalcow
RE: Woe is me. Am I the only one who ever has porblems?

I worked with him for a while on this 80 was blocked so he changed his server to 8080 but he just wanted to know how to make it listen on both ports so he did not have to type :8080 when he was local. I dont believe he was having trouble on loopback

Reply With Quote
  #9  
Old March 27th, 2003, 02:26 AM
pickleman78 pickleman78 is offline
Codewalkers Novice (500 - 999 posts)
 
Join Date: Apr 2007
Location: Dallas,TX,USA
Posts: 582 pickleman78 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
Send a message via AIM to pickleman78
RE: Woe is me. Am I the only one who ever has porblems?

ahhh! All these big technical words!!

Now, to anonomys, Yes I have restarted apache, numerous times actully. I switched it from 80 to 8080.

I have 2 virtual hosts set up, tell m eif you see a problem

Listen 80
Listen 8080
.....
<VirtualHost *:8080>
Port 8080
ServerName "..."
DocumentRoot c:/mywebsitestuff
</VirtualHost>

<VirtualHost *>
Port 80
ServerName "..."
DocumentRoot c:/mywebsitestuff/
</VirtualHost>


Now apache not throwing errs I assumed this would work. I have it set to listen on 80 and 8080. 8080 works, but 80 doesn't. Any enlightenment?

And just out of curiosity, what is a loopback?

Reply With Quote
  #10  
Old March 27th, 2003, 02:45 AM
postalcow postalcow is offline
Codewalkers Beginner (1000 - 1499 posts)
 
Join Date: Apr 2007
Location: Ford CIty, PA USA
Posts: 1,267 postalcow User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 3
Send a message via Yahoo to postalcow
RE: Woe is me. Am I the only one who ever has porblems?

What version of apache? 2.0 maybe?

127.0.0.1 is considered loopback this just means it loops back to itself. just //localhost.

Reply With Quote
  #11  
Old March 28th, 2003, 03:17 AM
pickleman78 pickleman78 is offline
Codewalkers Novice (500 - 999 posts)
 
Join Date: Apr 2007
Location: Dallas,TX,USA
Posts: 582 pickleman78 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
Send a message via AIM to pickleman78
RE: Woe is me. Am I the only one who ever has porblems?

I have 1.3.27 I believe it is, its the newest one for windows before 2.0

I didn't like the way 2.0 worked with PHP, and it kept crashing my computer, so I reverted. 1.3.27(i think) always worked for me.

Reply With Quote
  #12  
Old April 1st, 2003, 02:28 AM
pickleman78 pickleman78 is offline
Codewalkers Novice (500 - 999 posts)
 
Join Date: Apr 2007
Location: Dallas,TX,USA
Posts: 582 pickleman78 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
Send a message via AIM to pickleman78
RE: Woe is me. Am I the only one who ever has porblems?

heh, whoops, I wan't really restarting the server
*feels embarassed*
darn the -n thing!!

Reply With Quote
  #13  
Old April 1st, 2003, 02:49 AM
postalcow postalcow is offline
Codewalkers Beginner (1000 - 1499 posts)
 
Join Date: Apr 2007
Location: Ford CIty, PA USA
Posts: 1,267 postalcow User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 3
Send a message via Yahoo to postalcow
RE: Woe is me. Am I the only one who ever has porblems?


Reply With Quote
Reply

Viewing: Codewalkers ForumsOther TechnologiesServer Administration > Woe is me. Am I the only one who ever has porblems?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

 Free IT White Papers!
 
Accelerating Trading Partner Performance
One in five. That's how many partner transactions have at least one error. That is an amazing statistic, particularly given the extraordinary leaps in innovation across the global supply chain during the past two decades. Download this white paper to learn more.

 
Competing on Analytics
This Tech Analysis is designed to help identify characteristics shared by analytics competitors, and includes information about 32 organizations that have made a commitment to quantitative, fact-based analysis.

 
Cost Effective Scaling with Virtualization and Coyote Point Systems
An overview of the industry trend toward virtualization, how server consolidation has increased the importance of application uptime and the steps being taken to integrate load balancing technology with virtualized servers.

 
Five Checkpoints to Implementing IP Telephony
Implementation planning for IP PBX software and IP telephony has become vital as businesses replace discontinued legacy PBX phone systems. This informative whitepaper outlines five &quot;checkpoints&quot; for any implementation plan that will help make IP communications a successful proposition.

 
Hosted Email Security: Staying Ahead of New Threats
In the last two years, email has become a fierce battleground between the nefarious forces of spam and malware, and the heroes of messaging protection. The spam volumes increased alarmingly every month, bringing clever new forms of phishing and virus propagation attacks.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support |