wholeinsoul / telekinesis

Automatically exported from code.google.com/p/telekinesis
0 stars 0 forks source link

Safari can't open server #143

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. open safari
2. enter the https://---:5010 in the safari adress bar on iphone
3. after a while safari displays a window saying " Safari could not open
the page because the server stopped responding."

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?
I have tried using most versions on Mac OS 10.4.11

Please provide any additional information below.
Please help

Original issue reported on code.google.com by alexllew...@googlemail.com on 10 Aug 2009 at 11:29

GoogleCodeExporter commented 8 years ago
i think this might be to do with my firewall. does anybody know how to view the 
port
numbers that a firewall will accept on a mac?

Original comment by alexllew...@googlemail.com on 12 Aug 2009 at 8:50

GoogleCodeExporter commented 8 years ago
I think the firewall is under Security in System Preferences... but I think 
most Macs default to no firewall (I could 
be wrong). Anyway, you can check there if you like. Also, are you on the same 
wifi network? If not, it could be an 
issue with port forwarding on your router??

Original comment by jfenwick...@gmail.com on 29 Aug 2009 at 2:28

GoogleCodeExporter commented 8 years ago
Are you able to view the URL locally on the Mac? 

I couldn't and restarting the server wrote to the Console log (Console.app):

] Starting server on port 5010
] dyld: Symbol not found: _apr_socket_sendfile
] Referenced from: /usr/sbin/httpd
] Expected in: /usr/lib/libapr-1.0.dylib

I followed the suggestion to link libapr-1.0.dylib to an older version where the
symbol does exist (libapr-1.0.2.7.dylib).

In Terminal, execute:
sudo install_name_tool -change /usr/lib/libapr-1.0.dylib
/usr/lib/libapr-1.0.2.7.dylib /usr/sbin/httpd

See:
http://stackoverflow.com/questions/573067/unable-to-serve-pages-on-mac-os-x-usin
g-default-apache-web-server

Original comment by benjami...@gmail.com on 23 Sep 2009 at 1:49