ReservedIP - deployment error!

Please help me with this!

I'm trying to deploy a simple worker role and I need it to have a public reserved IP so any OUTGOING http request must come from that IP only. So I created ReservedIP and changed .cscfg according to this - https://msdn.microsoft.com/en-us/library/dn690120.aspx. But when I deploy my cloud service I get this error:

Validation Errors: Error validating the .cscfg file against the .csdef file. Severity:Error, message:ReservedIP 'MyIP' was not mapped to an endpoint. The service definition must contain atleast one endpoint that maps to the ReservedIP..

So, what should I do? I don't really need this service to have ANY endpoint. The reserved IP for outgoing requests ONLY.

Thanks!

May 28th, 2015 8:05pm

Hi,

  By default Worker Roles do not have an External (Public facing) endpoint, you will need to setup an endpoint first yourself. the following link shows how to add a direct port endpoint.
  https://msdn.microsoft.com/en-us/library/hh180158.aspx
 
  Hope this helps.
 
Regards,
Nithin Rathnakar

Free Windows Admin Tool Kit Click here and download it now
May 29th, 2015 8:18am

Nevermind, I got it :)

Does "do not have external endpoints" mean that by default worker role can't communicate to external resources (like other Internet services, web api, etc)?

May 29th, 2015 9:11am

Hi,

  By default Worker Roles do not have an External (Public facing) endpoint, you will need to setup an endpoint first yourself. the following link shows how to add a direct port endpoint.
  https://msdn.microsoft.com/en-us/library/hh180158.aspx
 
  Hope this helps.
 
Regards,
Nithin Rathnakar

Free Windows Admin Tool Kit Click here and download it now
May 29th, 2015 12:18pm

Nevermind, I got it :)

Does "do not have external endpoints" mean that by default worker role can't communicate to external resources (like other Internet services, web api, etc)?

May 29th, 2015 1:11pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics