Can i change my ip adres??

johny.vent 0 Reputation points
2024-02-29T16:20:52.7566667+00:00

I'm trying to run an application on my virtual machine But I'm getting this error Is there any way I can fix this? how can i change my network adress?

[IPINFO_RESTRICTION] IP Blocked: You're connecting from a hosting IP range.

Azure Virtual Network
Azure Virtual Network
An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.
2,386 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Luis Arias 6,461 Reputation points
    2024-03-01T09:31:33.02+00:00

    Hi johny.vent,

    It looks like you are trying to access to an external application from your VM, In that case that Application need to add your Public IP of the VM to the allowed consumers (whitelist). If your question is about change the IP public for one IP that is in the allowed range of you application , as I know that's not possible because Azure Manage their own specific Public IPs address pools.

    So the best option is get on your virtual machine your existing ip Public( ifconfig.me ) or Azure portal check which IP public do you have. After that request to your application owner to white list that IP address.

    Let me know if this comment help you to solve your problem.

    Luis


  2. ChaitanyaNaykodi-MSFT 25,611 Reputation points Microsoft Employee
    2024-03-08T03:42:49.2633333+00:00

    @johny.vent

    Thank you for reaching out and apologies for the delayed response here.

    Based on your question above.

    I wonder if Azure offers any suggestions for this? buying external ip like that I will only use the accounting program, but the program does not work on Azure, any suggestions?

    In this scenario you can try below solution

    • Buy a Custom IP address prefix as shown here : A custom IP address prefix is a contiguous range of IP addresses owned by an external customer and provisioned into a subscription. Microsoft is permitted to advertise the range. Addresses from a custom IP address prefix can be used in the same way as Azure owned public IP address prefixes. Addresses from a custom IP address prefix can be associated to Azure resources, interact with internal/private IPs and virtual networks, and reach external destinations outbound from the Azure Wide Area Network.
    • If above solution does not work for you. Alternativelity you can try and set-up a site-site VPN from Azure to your on-premises and force tunnel all the internet traffic via the on-premise network. This scenario is described here. This way the internet traffic will use the on-prem public IP for communication. User's image

    Hope this helps. Please let me know if you have any questions. Thank you!

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.