I want using fixed Endpoint with serverless-appsync-simulator - serverless-framework

Is it possible to use domain or localhost with serverless-appsync-simulator endpoint?
I don't want the endpoint to change.
When I start simulator, it uses a private IP address (192.168.x.x:20002/graphql) for the endpoint.
So restarting the PC will change the endpoint.

Related

When trying to reach clients API from my Devbox they recieve calls from another IP than my DevBoxs public IP

I am trying to reach a clients API in the code. I suceed establishing connection using Postmand. But when I send them my Devboxs public IP to be whitelisted eg: 52.xxx.xxx.165 but the calls thy get come from a completely different ip eg: 52.xx.xx.129 - and after whitelisting that IP i can then connect to the API without a problem through Postman. But when trying to reach it directly through Visual Studios, with both IPs whitelisted, i get the error that i am not autorizised (IP not whitelisted).
Which IP does Visual Studios in Devbox use when calling and API? How can I find out?

Outbound IPs whitelist in B2B

I have Outbound IP range from partner system(server) whose HTTPS URL we are trying to connect to transfer files but since no APIs are involved , how to check if IP's are whitelisted or is it any way to Whitelist that IP range in anypoint Studio7 using Mule4
Not finding way to do it via Anypoint studio as my code is deployed locally and not on any CloudHub or on-premise as of now, as its just a POC
It is the other way around. The other side, which exposes the HTTPS service you are connecting to, restricts access to their service by whitelisting some IPs. If your IP, from where you connect to the service, is whitelisted, then you will be able to connect to it. If not, you might not even get an error response. It is up to the side whitelisting, which is usually the server.

With a Sonos player, adding local service to customSD does not show up Music Services

I have the starting shell of a SMAPI service programmed in Node.js. The service is running off of a local IP address.
When I goto the customSD page for my Sonos Play:1 and add the service details to it and it returns 'Success!' upon clicking submit.
When I open the Sonos Controllers on both my desktop and mobile, the service does not show up in the list of music services you can add.
I have logging on the server turned on to max and there are no connection attempts ( either SSL or HTTP ) at all.
From what I've read, a running service is not needed for it to show up in the list. Once it's added via customSD it should show up in the Music Service settings.
TO NOTE: A self signed cert is being used for https for connection testing only. I have certificate request logging turned on and there is NO connection attempt from the Sonos Play:1 to the local server at all. From everything I've read this shouldn't matter as it should show up in the Music Service list until you try to add it and then it will connect to the service.
The only thing I can think of is if this service needs to be registered with Sonos before it can be added via customSD, however at this time nothing I've read says that.
The other thing is if this service needs to be running off a domain name for some reason. However in the documentation it lists IP address so it would be bad documentation then.
I expect the service added via customSD should show up in the list. It does not appear when clicking on add.
Understood the issue and YvesGrantSonos has updated the documentation.
If you're developing locally a non-https IP address should be used for both the secure and non-secure API URI's.
You should be able enter a local IP address for the SMAPI service. For testing, this should be on the same local network as the Sonos player. Be sure to include the port number that the service is running on (i.e. http://192.168.1.2:8080/musicservice). You can use the same IP and port for secure and insecure connections.

Podio webhook IP address?

Looking to whitelist the IP address for webhooks. I'm implementing some automations using the PHP SDK for a client, but their server isn't accessible via HTTP unless we whitelist the specific IP address of origin. Where do those posts originate from?
Thanks!
As Podio is built on a scaleable infrastructure we continuously add more capacity to our background worker cluster. This means that we cannot guarantee which IP addresses we will connect from when doing a webhook.

forwarding http request

i hope to find out a solution to my issue.
Here's my scenario:
i have developed a web application using glassfish, my application actually work on http://localhost:8080/myapp.
I also bought a domain and associated with my public ip address. Note that my application is located on a virtual host (with another ip adresss), so i need to forward the request from the public ip address to the virtual host IP address . How can i do that?
After the request has been forwarded to the correct IP address, i want to launch my application by using the domain name and not the ip adress, so i want to do something like this http://www.mydomain.it for start my app.
First of all, you need to make available the application to a public IP address (i believe you got that right using the virtual host).
Then you have to redirect the trafic from your domain to that public ip address where the application is available. This can be done in different ways depending on your domain provider. Some providers have a web interface to do this redirection, and some others not. Look what is available from the side of your domain provider