Socket.io not accessible via domain name - socket.io

I have a socket.io node js application running on server on port 3001. When I access that socket connection via browser http://ip-adress:3000/socket.io/?EIO=3&transport=polling&t=1502735738006-0 It works perfectly fine.
I have a VPS on vultr with Ubuntu 14.04 x64
And I have a domain jackpotrolldice.com pointing to that server.
When I try to access via browser like http://jackpotrolldice.com:3000/socket.io/?EIO=3&transport=polling&t=1502735738006-0 then it doesn't work and connection timed out error comes.
As I am new to nodeJS and socket.io. So please guide & help me!Thank you in advance!

Related

Client application and Signoz on different Windows server

When Signoz is running locally via Docker with the client application in the same server, everything is working. However, if I configure the same application on another Windows server, I got connection timed out exception. There's no firewall issue as if I host another dummy application on port 4317, the other server can access the resource.
Please help

websocket connection closed before established laravel on ubuntu server?

I have implemented websocket in laravel framework. It is working fine on localhost windows OS but giving error on live ubuntu server
["Connecting",{"transport":"ws","url":"ws://IP-Address:6001/app/qwerty?protocol=7&client=js&version=7.0.0&flash=false"}]
I think this is error because port is not allowing to connect. but i am not sure about it. What should i do? I am using aws webservices
Added rule

How to solve google chrome "Failed to load resource: net::ERR_CONNECTION_REFUSED" issue in windows 10 when server is running on Ubuntu 18.04?

I am trying to run this project on Ubuntu 18.04 server. I am running both server and client on this machine. Then from windows 10 with port 9000 I am getting access to client in my chrome browser at http://localhost:8000/#/
The browser loads the project but the problem is I can't log into the website with trusted account and some other data do not get loaded . When I see browser console I see an error message saying:
Failed to load resource: net::ERR_CONNECTION_REFUSED
This is the server setting:
This is the client setting and putty setting to connect to client.
VPN has been used to connect to server via PuTTY.
The error message in browser:
Could anyone shed some light on this issue? Is it related to windows 10 or VPN or some other issues? I followed some steps from here https://www.ionos.com/digitalguide/hosting/technical-matters/err-connection-reset/
By default, the Flask development environment uses 127.0.0.1 (localhost), which restricts access to processes on the same host (except for VMs/containers, which aren't a factor here).
To access Flask from outside of localhost (e.g., from your Windows 10 machine), use the IP address 0.0.0.0. (You can pass it to run(), or via a command line option of the flask command.
However, do note the warnings about (not) using the development environment for production use.

FTP server on VPS

I am trying to connect to FileZilla ftp server on my VPS. I have installed it. Added a user. Added exception to Windows Firewall for FileZillaServer.exe; Configured FileZilla to use Passive mode and entered my IP of VPS server. Then I have started the server on VPS.
But I still can not connect to FileZilla from outside. It sais:
Error: Connection timed out
Error: Could not connect to server
P.S. if I`m connecting to server locally, ir works.
Any ideas what is going on?
Thanks a lot.
Well, I will answer it myself :)
I could not start Filezilla server for some reason, but I was able to start IIS FTP server.
All you need to do is to go to IIS Manager and add FTP site. Add user and that`s it.

setup tomcat personal webserver

i hosted an apache server by changing few details in the httpd.conf file, used this tutorial. i also did port forwarding so that the server is able to respond behind the wireless router (firewall), it worked completely fine ( i checked by typing the ip and port number from some other host outside the network). now i am trying to run servlets for which i need tomcat server. i have installed tomcat but i am unable to access the server from another host that is not on the same network. could somebody please guide as to how can i achieve this.
I guess I would go with The Apache-Tomcat Connector and use it to connect your new tomcat instance to your Apache.
I did the same thing just as I for apache server, except that I changed the listening port to something else. added that entry in the router. incorporated tomcat in eclipse and then started the sample project. using whatismyip.com, i got the ip address. i could access my webserver from elsewhere...

Resources