radiolondra Posted February 16, 2012 Posted February 16, 2012 Hi, I've just installed unigui and succesfully compiled the SimpleDemo project. It runs into the IDE. But I can't see it in any browser (http://localhost:8077 or http://127.0.0.1:8077) I've Apache 2.2 (but I've stopped it) and IIS7 (stopped). I've stopped the Windows Firewall also. Nothing to do. I've always the same result: "Can't connect to localhost:8077". I've also make an attempt changing the ServerModule porto to 80 instead of 8077 but with the same result. What shall I do? I forgotten to do some basic things? Many thanks in advance Robert Quote
radiolondra Posted February 16, 2012 Author Posted February 16, 2012 Ah, my Delphi IDE is RAD 2007. Quote
Administrators Farshad Mohajeri Posted February 16, 2012 Administrators Posted February 16, 2012 Sometimes anti-virus programs can block TCP ports. Quote
radiolondra Posted February 16, 2012 Author Posted February 16, 2012 Hi Farshad my antivirus is down. Quote
radiolondra Posted February 16, 2012 Author Posted February 16, 2012 Sorry, but I must run something to have the unigui http server up and listening on 8077 port? Thx Robert Quote
Administrators Farshad Mohajeri Posted February 16, 2012 Administrators Posted February 16, 2012 Sorry, but I must run something to have the unigui http server up and listening on 8077 port? Thx Robert You only need to run the generated EXE file by Delphi. Is it same with all other demos? Quote
Administrators Farshad Mohajeri Posted February 16, 2012 Administrators Posted February 16, 2012 Try: http://127.0.0.1:8077 Quote
radiolondra Posted February 16, 2012 Author Posted February 16, 2012 Yes, for all demos. I can run them in the IDE only. I've stopped ALL the possible (antivirus, firewall, Apache, IIS7). This PC runs well with Apache (I've some web sites on different ports) and with IIS7 also (I've a Web site in ASP listening on port 8081) with MySQL on port 3306. I've also added a stupid rule on my router opening the 8077 port... Nothing to do: always Can't connect to localhost:8077. :( :( Quote
Administrators Farshad Mohajeri Posted February 16, 2012 Administrators Posted February 16, 2012 Try: http://127.0.0.1:8077 Tried this? Quote
radiolondra Posted February 16, 2012 Author Posted February 16, 2012 Farshad, the attempt http://127.0.0.1:8077 was the first thing I've done without success. Anyway the localhost is already mapped on 127.0.0.1 via the hosts file. I've forgotten some basic thing? Like... run something... install something... Where is the unigui http server listening on 8077 port? Is it an EXE? A service? I'm sure that I've forgotten something... but what? Robert Quote
Administrators Farshad Mohajeri Posted February 16, 2012 Administrators Posted February 16, 2012 You must try browsing when EXE is running. Application contains the http server which allows browser. connection. 1) Compile the app 2) Run the app 3) Access it from browser You can also try by running app outside the IDE. Quote
radiolondra Posted February 16, 2012 Author Posted February 16, 2012 Farshad, ehm.... I can't find the right words to say... I'm so stupid! I've lost my and your time.... I've now understood that the unigui http server is INTO the app itself! Genial! Now I run the demo in any browser also!! Hyp! I'm so sorry... and so stupid! Many many thanks Robert Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.