I am using Delphi XE2 and the TWebBrowser
component.
I have a server listening on port 8000. I can load my browser and specify the port in the url and get the correct response from my server using http://localhost:8000
.
When I try to pass the same url to the TWebBrowser
component, it seems to ignore the port number altogether and simply says "document not found" (and does not even connect to the server).
Normally, you can embed the port number in the url (if it is not port 80), but I seem unable to do this with the TWebBrowser
component, so C1.Navigate('localhost:8000')
does not work.
Is there any way I can use the TWebBrowser
component with a non-standard port?