I've a appchain running on my ec2 server and I can connect to it using http://localhost:9933 by forwarding the port 9933 to my local 9933.
How can anyone connect to the appchhain directly using the IP of EC2 instance?
Related
I have website hosted on GCP windows VM on IIS and running absolutely fine with internal ip address of the machine. However when trying to access the website with same internal IP through VPN it does not work . Firewall rules have been added to allow 0.0.0.0/0 TCP:80 port.
when I did telnet I received following error "Could not open connection to the host, on port 80: Connect failed" Not sure what I am missing.
I made a React web app and deployed it using AWS Amplify. In addition to hosting the website the host is also running a peerjs server so that the clients can use peer-to-peer connection. The problem is that in order for a peer to connect to the peerjs server it needs the IP address that the server is running on.
So how can I get the host's IP address?
I have computer with self hosted WireGuard VPN in docker container. When I'm in local network and I'm not connected trough VPN, it's possible to connect with machine using hostname instead ip address:
ssh username#computer_name
but when I'll connect trough VPN from external network then I have to use local ip addresess like
ssh username#xxx.xxx.x.x
because when I try use hostname I receive message:
ssh: Could not resolve hostname computer_name: Unknown host.
The machine with the VPN is the same machine I am trying to connect to via ssh using hostname.
I want to forward the ip of my localhost server for being publicly accessible.
But while trying to configure my router on port 80(as it is localhost's listening port) it shows "Error: The port of the remote web management is conflicting with of the virtual server."
Is there any fix to it?
I was able to resolve this by updating the Web Management Port to a port other than 80. This setting for me was found under Security -> Remote Management -> Web Management Port.
After updating, I could enable port forwarding on port 80.
I don't have a public ip address so I'm looking to host a server while connected to a VPN, the VPN server is running on a VPS that I own and its running SoftEther VPN server.
In my machine I connect to the VPN and then run the server app, however I check in http://www.canyouseeme.org/ to see if its successfully hosted and can be accessed from internet but its not and it shows "connection refused", if I host the server on the VPS machine it works, but I don't want that, it should be hosted on my machine and should be accessible using the ip address of the VPS/VPN.
You probably want to set up port forwarding on your VPN server.
When you connect to the VPN, your traffic goes through it, but you don't "become" it - the traffic directed to the VPN server (like an attempt to connect to your app) will not be forwarded to your VPN client machine - this is not the purpose of VPNs.
There is a page with port forwarding setup here. This is to be done on the VPN server.
The alternative I use is to setup port forwarding via SSH on the application server and ditch the need for VPN. Check Remote Port Forwarding here. It works fine, encrypts your data between the application server and the gateway, but there might be bigger overhead and it may be more prone to die when the network connection is temporarily lost.