Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Zaphieon's avatar

Laravel 5.1 with Socket.io switched servers

had this developed over 3 yrs ago now, we have switched servers and some things were not working. so check in the console and notice that the app is trying to connect to socket.io on the old domain. so i did a search through the files and I only found 1 reference to the old domain. which was in a gitlab file. So I am very confused is there a simple way of getting my project to use my localhost url for the socket.io

/// edit //// fixed - found the issue inside the vue folder.

installed socket.io, and ran my server script to start it up and set the port to 3000...

but the URL I have no idea how to change so it check my current domain and not the old one. and gain there is no real reference to the old domain in any of the project files.. except this..

gitlab-ci.yml ( this was never even set up properly and we dont use gitlab any more. )

deploy_prod: stage: deploy script: - echo "Deploy to Live Servers" environment: name: production url: https://oldodomain.com when: manual only:

  • master
0 likes
1 reply
Zaphieon's avatar
Zaphieon
OP
Best Answer
Level 1

fixed was setup in the vue folder

Please or to participate in this conversation.