Watch, Follow, &
Connect with Us

Please visit our new home
community.embarcadero.com.


Welcome, Guest
Guest Settings
Help

Thread: webserver with component TIdHTTPServer



Permlink Replies: 4 - Last Post: Jan 23, 2018 6:39 AM Last Post By: shlomo abuisak
shlomo abuisak

Posts: 100
Registered: 9/18/10
webserver with component TIdHTTPServer
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 23, 2018 1:28 AM
I have made a webserver with component TIdHTTPServer
default port = 80
it works on http://localhost/readme.html

My computer workes with a router IP 10.0.0.37
How ever my external ip is 79.179.191.120

What i am trying to do is to read readme.html with my Android S6 phone and chrome.
http://79.179.191.120/readme.html and it dose not work !!!.

Do i need to put this software on a SERVER ? or can i use
it from a "regular" computer?
And there is another way i can use my software so that my computer
is to receive this 79.179.191.120. without being a server?

My Delphi is 10.2.1 and i do not have Datasnap
Robert Triest

Posts: 687
Registered: 3/24/05
Re: webserver with component TIdHTTPServer
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 23, 2018 2:05 AM   in response to: shlomo abuisak in response to: shlomo abuisak
Maybe you didn't config your router to forward and open port 80 to your local IP 10.0.0.37

Google: "router open port 80"
shlomo abuisak

Posts: 100
Registered: 9/18/10
Re: webserver with component TIdHTTPServer
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 23, 2018 3:10 AM   in response to: Robert Triest in response to: Robert Triest
Robert Triest wrote:
Maybe you didn't config your router to forward and open port 80 to your local IP 10.0.0.37

Google: "router open port 80"
Do i need a computer SERVER for it to work?
Robert Triest

Posts: 687
Registered: 3/24/05
Re: webserver with component TIdHTTPServer
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 23, 2018 4:22 AM   in response to: shlomo abuisak in response to: shlomo abuisak
Do i need a computer SERVER for it to work?
No. You have to open the port 80 on your router to your intern IP address of that computer.
Your router might block port 80 to your computer. Normally this is the case because you can add
more computers on your router and you have to tell the router what computer is allowed to receive the HTPP requests.

Also check your (Windows) Firewall software if it is blocking port 80..

Edited by: Robert Triest on Jan 23, 2018 1:33 PM
shlomo abuisak

Posts: 100
Registered: 9/18/10
Re: webserver with component TIdHTTPServer
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 23, 2018 6:39 AM   in response to: Robert Triest in response to: Robert Triest
Robert Triest wrote:
Do i need a computer SERVER for it to work?
No. You have to open the port 80 on your router to your intern IP address of that computer.
Your router might block port 80 to your computer. Normally this is the case because you can add
more computers on your router and you have to tell the router what computer is allowed to receive the HTPP requests.

Also check your (Windows) Firewall software if it is blocking port 80..

Edited by: Robert Triest on Jan 23, 2018 1:33 PM
Thanks
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02