subnet

AZURE VMs on the same VNET, different subnet can not ping to port other then 3389

感情迁移 提交于 2021-02-08 08:39:18
问题 I am very new to the AZURE, and was trying to connect two VM (same network, separate Subset). I have enabled RDP on both the VM, So I can ping from VM-1 to VM-2 like this: PS C:\Users\AzureUser> Test-NetConnection 10.0.1.4 -port 3389 ComputerName : 10.0.1.4 RemoteAddress : 10.0.1.4 RemotePort : 3389 InterfaceAlias : Ethernet SourceAddress : 10.0.0.4 TcpTestSucceeded : True I guess this is because this port 3389 is used for RDP. Now in Inbound port rules I have added port 8080 but not able to

Configure subnets using terraform cidrsubnet

孤者浪人 提交于 2021-01-29 07:10:34
问题 I am trying to create two subnet using the cidrsubnet function that Terraform supports. The VPC cidr I have is "10.32.0.0/16". I am trying to have subnets 10.32.1.0/27 and 10.32.3.0/27. I am having some trouble getting the cidrsubnet function in order to achieve this. What I have so far is: cidrsubnet(10.32.0.0/16, 11, netnum???) I do not understand what value I need for the netnum in order to get the value I want. Any explanation on this part of the function would be helpful. I've tried

Can I restrict who accesses my Azure website to people in the US?

喜欢而已 提交于 2021-01-28 08:51:22
问题 I want to limit the people who can see and visit my website to only those in the US! I know I can restrict IP addresses to only those I give in my web.config file. Is there some subnet mask or something I can use below to define all US ip addresses or is there some Azure settings I can configure in the Azure portal? ex. <system.webServer> <security> <ipSecurity allowUnlisted="false" denyAction="NotFound"> <add allowed="true" ipAddress="24.130.112.11" subnetMask="255.255.0.0" /> <add allowed=

How to access devices with IPV6 link local address from browser(like IE,firefox etc)?

▼魔方 西西 提交于 2021-01-21 07:31:10
问题 Both my device and the host through which i'm trying to access are in the same subnet. Scenario: I have a switch and a server in same subnet. I have to access switch using ipv6 link local address from the browser in my server. Can anyone pls tell me the exact syntax?? 回答1: To give an answer specific to browsers: for most common browsers, you can't. There is a proposed standard format, as Sander Steffann pointed out, for specifying the interface for a URL, which is in RFC 6874. The developers

AWS Lambda Function with VPC only works when in Private Subnet

久未见 提交于 2020-12-15 06:02:31
问题 I have been working on integrating an Amazon Lambda function with connection to a RDS for the mySQL DB and an external API. To access the API, there needed to be an internet gateway and then security groups that allowed connection from 0.0.0.0/0 . I have a a public subnet and private subnet. The public subnet routes to the internet gateway but the private subnet routes to a NAT. This lead me to think that if I ran the Lambda function with the Public subnet, it would connect to the internet.

Postgress | SQL | Get a row only if the subnet is part of a given ip list

淺唱寂寞╮ 提交于 2020-08-10 22:34:03
问题 I have a table with text column that holds ip with subnet | ip ------------- | 1.1.1.1/30 when you convert 1.1.1.1/30 to list of ip you get: 1.1.1.0 1.1.1.1 1.1.1.2 1.1.1.3 I want to run a sql on this table and give a list of ips somehow as part of "where" or anything else, and get this row only if the list of the ips that I give contain the ips of the range in the row. meaning, where ('1.1.1.0','1.1.1.1) --> I will not get the row but: where ('1.1.1.0','1.1.1.1,1.1.1.2,1.1.1.3) --> I will

VNet Integration For Azure Web App and Azure SQL Server

牧云@^-^@ 提交于 2020-07-05 20:53:44
问题 I have an Azure Web App and an Azure SQL Server, both in the same subscription. Both of them are connected to the same VNet Subnet as shown in the below snapshots. The SQL Server is configured not to Allow Azure Resources and Services to access the server, as it should only permit access from either the connected subnet or a set of IP rules. Unfortunately, the SQL Server is actively refusing any connection from the web app stating that the web app IP is not allowed to access the server. The

Azure container instances with VNET creation error

若如初见. 提交于 2020-06-16 17:26:08
问题 I am attempting to create a Container Instances as a private network attached to an existing VNET and subnet. I managed to get this running yesterday, but doing updates or refreshing the image was painfully slow. I am consuming a private image on dockerhub. Now when I attempt to create an ACI with the same VNET, subnet and image I get the error: The requested resource is not available in the location 'westeurope' at this moment. Please retry with a different resource request or in another

Azure container instances with VNET creation error

独自空忆成欢 提交于 2020-06-16 17:25:08
问题 I am attempting to create a Container Instances as a private network attached to an existing VNET and subnet. I managed to get this running yesterday, but doing updates or refreshing the image was painfully slow. I am consuming a private image on dockerhub. Now when I attempt to create an ACI with the same VNET, subnet and image I get the error: The requested resource is not available in the location 'westeurope' at this moment. Please retry with a different resource request or in another