-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GET https://localhost/sockjs-node/info?t=1580200999862 net::ERR_CONNECTION_REFUSED #497
Comments
Does it work if you bypass nginx and connect directly to port 8080? |
Sorry @brycekahle .. how to bypass nginx? |
Use |
I beg your pardon, but may be I'm missing something. As you might grasped, I'm not such an expert: |
When you create the |
Actually I didn't create any SockJS object by myself. (base) marco@pc:~/vueMatters/testproject$ npm run serve
INFO Starting development server... DONE Compiled successfully in 1409ms 8:14:46 PM I need https for testing, since I need to use and test tools as webRTC within my local network and also with external networks. So, it would be better to find a way to work with https |
If you didn't directly create a SockJS object yourself, then this repo is not the place to be troubleshooting. You should ask the Vue.js folks how you can setup local testing with |
ok. Thank you @brycekahle |
@brycekahle In the PC I installed ex-novo Ubuntu 18.04.3 Desktop and I verified that the problem disappeared. I ran the same tiny webapp in both laptop and pc, and using localhost and the ip-address both from within the laptop/PC and from the other device (PC/laptop) gave no error. According to you, what kind of problems/missing parts/lacking features or whatever the Ubuntu 18.04.4 Server Edition could have compared to the Ubuntu 18.04.4 Desktop Edition? |
Ubuntu 18.04.03 Server Edition, nginx version: nginx/1.14.0 (Ubuntu), @vue/cli 4.1.2
These are the errors I'm getting:
In sockjs.js :
this is my /etc/nginx/conf.d/default.conf :
How to solve the problem?
The text was updated successfully, but these errors were encountered: