Search found 6 matches

by kryszen2
2019/05/27 08:49:06
Forum: CentOS 7 - Networking Support
Topic: Url requests refused
Replies: 2
Views: 1267

Re: Url requests refused

Thank you for the answer. Yes, you are right - there was a typo in wget 127.0.0.1:4040/file1.html. Now the wget command outputs: Connecting to 127.0.0.1:4040... connected. HTTP request sent, awaiting response... 200 OK Unfortunatelly I'm still stuck with error: OPTIONS http://127.0.0.1:4040/file2.ph...
by kryszen2
2019/05/26 10:54:56
Forum: CentOS 7 - Networking Support
Topic: Url requests refused
Replies: 2
Views: 1267

Url requests refused

Hello. I can’t make url requests work properly on Centos7 (with Apache). I’ve prepared some simple java script -> php request sample to present my problem : file1.html: <script type="application/javascript"> $(document).ready(function() { var xhr = new XMLHttpRequest(); var url = "http://127.0.0.1:4...
by kryszen2
2019/05/19 10:02:15
Forum: CentOS 7 - Software Support
Topic: [SOLVED] Cherrypy - no response to requests
Replies: 5
Views: 1034

Re: Cherrypy - no response to requests

Thank you. You pointed me in the right direction. You were right: there was nothing there to pass out. It found out that the problem was that cherrypy server wasn’t active at all, because of the wrong initiation method. It should be started in background and not as usual Python script (otherwise it ...
by kryszen2
2019/05/14 13:02:18
Forum: CentOS 7 - Software Support
Topic: [SOLVED] Cherrypy - no response to requests
Replies: 5
Views: 1034

Re: Cherrypy - no response to requests

I also tried with built-in python http server: 1. I killed cherrypy process 2. command: python3 -m http.server 2020 --bind 127.0.0.1 output: Serving HTTP on 127.0.0.1 port 2020 (http://127.0.0.1:2020/) ... 3. command: ps aux output: 13487 0.1 0.4 91588 14432 pts/0 T 08:44 0:00 python3 -m http.server...
by kryszen2
2019/05/14 12:33:53
Forum: CentOS 7 - Software Support
Topic: [SOLVED] Cherrypy - no response to requests
Replies: 5
Views: 1034

Re: Cherrypy - no response to requests

Thank you for your answer.

I also thought about SELinux.

Unfortunately my SELinux is disabled - cherrypy isn't blocked by this security feature.
by kryszen2
2019/05/10 11:52:13
Forum: CentOS 7 - Software Support
Topic: [SOLVED] Cherrypy - no response to requests
Replies: 5
Views: 1034

[SOLVED] Cherrypy - no response to requests

Hello. I have problem with deploying cherrypy on Centos7. I've worked with cherrypy on Windows (json, postgresql etc.) for few years now without any problems and I don't uderstand what I do wrong in case of Centos. My "obervations" so far: - Cherrypy is installed as Python3 package - There is no any...