-
Notifications
You must be signed in to change notification settings - Fork 106
fsockopen unable to connect to 127.0.0.1:9876 (Connection Refused) #630
Comments
@camburns That sounds like a websocket issue... Does it work if you also run the command |
Thanks @danrot. I ran your command and Terminal gave me: and when browsing 0.0.0.0 on chrome I got the exception: "There exists no portal for the URL "http://0.0.0.0/" I imagine this exception relates to a domain name issue and I'll need to do some debugging / learning more Sulu. I wasn't able to find out where to edit Possible solution: |
@camburns 0.0.0.0 is a wildcard ip. you websocket listen to all ips with the port 9876. you can not brows a websocket in chrome directly. you can run sulu with the server:run command but you have to run it with the router argument |
I'm not aware of all details but this issue occurs with PHP7 and Symfony Standard Edition. And it's a false positive generated by the following fact: Symfony uses fsockopen to check if the connection is already in use. It's not a problem, just a standard check from Symfony. (that you can ask why, IDK) |
Ah, i see, that's just a debug message... @camburns Is the live preview working for you? In case it is, that is not really an issue. |
I've installed and configured Sulu on my dev machine (Mac, El Capitan with PHP 5.5)
I can run symfony apps without a problem, however the Sulu install creates this error in logs:
I've tried different ports, different sulu installations and done as much Googling possible and I'm unable to solve this problem.
The text was updated successfully, but these errors were encountered: