I have a node.js server an I'm trying to install Roundeube to it but I've only found Roundcube installations for CPanel and Docker. I'm using google firebase to host a static website that I want a function inbox on. It is a node.js with their own functional CLI and I've tried to install CPanel and docket but it seem to work. Any advice on how I could get Roundcube to function on node.js?
FYI I have a fully functional SMTP server.
Related
hello I need help how to open http://localhost:8000 from my pc. because my project polkadot substrate installed on a VPS Ubuntu, after I try to open IP:8000 it also doesn't work
Images
You have to run the substrate node using --rpc-cors all option. Please note that substrate chains don't expose websocket connections to the public internet without some hacking. I am assuming your question asks how to connect a substrate node running on a remote server to your local pc front end. If that's right let's continue:
https://wiki.polkadot.network/docs/maintain-wss
Describes the entire process. You need to install NGINX, configure /etc/nginx/nginx.conf and within the http code block insert the mentioned code, with proper variable replacements. Then generate a self-signed SSL certificate, and open port 9944 and 443 on your remote machine. Next visit the machine with https://IP:443 to whitelist that site, and finally connect to your substrate node with a local installation of polkadot-js-apps. You cannot connect it using the online polkadot.js explorer , so you must use a local connection. And that should get you up and running.
I have been using heroku for my node js servers. This time I created an ftp server using ftp-srv npm package. However I have no idea how to host it. If I try to deploy it to heroku again, it provides me with an https url. I need to use ftp protocol, so need a url with ftp://. What could I do to deploy my server?
I am using Laravel Websockets (by BeyondCode) - https://beyondco.de/docs/laravel-websockets/getting-started/introduction. May I know how can I install it on IIS8? I have no problem configured it on localhost.
Scenario
I'm trying to use stripe to set up payments on my application, but when i try to setup webhooks it throws an error because its trying to send to a site that technically doesn't exist (because it exists locally).
obviously internally i can provide the domain name but from an external source "mysite.test" doesnt exist.
Is there a way to get the IP address / port for my specific laravel valet site? I tried pinging "mysite.test" and it returned 127.0.0.1 but my guess is that is the valet server not the specific website because im tyring to link to stripe.
The error in question: "Test webhook error: Domain unknown"
Your server runs locally so it does not exist externally. To remediate this you have to use a tool that lets the rest of the world connect to your local server. I would recommend ngrok for this.
Stripe now offers a CLI that makes it easy to handle Webhooks in Laravel Valet. There are a few gotchas explained here: https://timleland.com/how-to-use-stripe-cli-with-laravel-valet/
Install Stripe CLI: brew install stripe/stripe-cli/stripe
Authenticate Stripe CLI using testing keys: stripe login –api-key sk_test_xxxxxxxxxxxxxx
Edit your host file: sudo nano /private/etc/hosts and add a host record for your local site: 127.0.0.1 AddYourSiteHere.test
Flush your DNS: sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder
Run stripe CLI to listen to webhooks: stripe listen –skip-verify –forward-to https://AddYourSiteHere.test/stripe/webhook
Make sure STRIPE_WEBHOOK_SECRET env value matches the output from Stripe CLI from step 5.
Your webhooks should now work locally.
I write my server file with node.js and has successfully test in my local , i install node.js and mongoDB plugin on my server , that is windows, but when i type server url instead of my ip in my android app I can't find server and get error server not found
Please help me