Solved

Finding Open HTTP port

Posted on 2004-09-30
11
133 Views
Last Modified: 2012-05-05
I am using Indy HTTP Server for a small image server. This program is for anyone to download and I would like it to find an open HTTP port by itself. Most ISPs have port 80 blocked and even if I assign something static (which is what I currently do) some ISPs block it. So what I would like is for my program to scan ports for one that will allow it to host a HTTP server.
0
Comment
Question by:LiquidIce911
11 Comments
 
LVL 17

Expert Comment

by:Wim ten Brink
ID: 12191866
If your ISP blocked port 80 then you're not supposed to have a webserver at home. That would be against the ISP policy and would be a good reason for you to lose your Internet account. So, only one solution: go to an ISP that does allow you to host webpages at home...
0
 
LVL 17

Expert Comment

by:Wim ten Brink
ID: 12191873
Btw. Port 80 is the only HTTP port. Other ports are used for other purposes. (Like email on 25 and 110, or FTP at 21.)
0
 
LVL 31

Expert Comment

by:moorhouselondon
ID: 12194526
I thought that port 8080 could be used as an alternative?
0
 
LVL 1

Author Comment

by:LiquidIce911
ID: 12194727
well I can do http://ipaddress:portnumber thats not a problem. It's not really for a web server it's just to host one image out of somebodies webcam, which is perfectly fine with most ISPs policies.
0
 
LVL 1

Author Comment

by:LiquidIce911
ID: 12194730
moorhouselondon: some ISPs block port 8080 too.
0
Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

 
LVL 13

Expert Comment

by:BlackTigerX
ID: 12214659
you can mount a http server in any port

it may not be the standard way to do it, but you CAN put a http server in almost any port...

you can just change the port and try to activate the http listening on that port, if that doesn't work go to the next port and so on...
0
 
LVL 17

Expert Comment

by:Wim ten Brink
ID: 12218523
BlackTigerX is right, technically speaking. You can set up a webserver to use any port, not just port 80 or 8080. Problem is, however, that if an ISP has blocked port 80 (or 8080) then it's very likely that they've blocked most other ports too. I'd assume they would just block everything, preventing all incoming traffic. You'd still have the outgoing traffic working fine for you, though. And perhaps some very high port number is available...
0
 
LVL 1

Author Comment

by:LiquidIce911
ID: 12220718
The problem is I can start the server on any port but the traffic will be blocked so there is no error or anything, it just doesn't work. Most ISPs will block the main ports but have some other opened but they are different. For example, my ISP allows port 720 while a friends allows 8181. I would like the software to somehow look for a port by itself perhaps do some kind of a test to see if the traffic is going through that port and if not, move on to the next one.
0
 
LVL 1

Author Comment

by:LiquidIce911
ID: 12290393
I fixed my problem by making the program open a port then linked it to my website with a PHP script. The PHP script uses fsockopen to check if the port is open then relay the information back to the program.
0
 

Accepted Solution

by:
ee_ai_construct earned 0 total points
ID: 12381009
Question answered by asker or dialog valuable.
Closed, 175 points refunded.
ee_ai_construct (replacement part #xm34)
Community Support Admin
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now