Let's Reconnect, thank you for making 2022 our best year yet.

Look Back
Port Communication For Addins — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Port Communication For Addins

Received Response
9
Views
6
Comments
edited Jun 13, 2022 4:08AM in General Technical Discussions 6 comments

Content

There are lots of problems which can be solved by working over ports specially when doing some complex integration of applications where we need to send the request over port and need to listen the same.

This small tutorial will help how to listen the response and send the request over the port.

This is very basic Server to App Communication which is followed by almost every small app which works on Internet and do some sort of communication.

Hope this will help all in some aspect.

 

 

Version

Any Version

Code Snippet

             before all this you need to hit the acl url in commandprompt

netsh http add urlacl url="http://+:1006/" user=everyone

Sending  a Request over a PORT

Select any Localhost port say 1006 

URL = http://127.0.0.1:1006/StartingPoint?Param1&Param2&Param3

  HttpWebRequest request = (HttpWebRequest)WebRequest.Create(URL);
                    request.Method = "GET";
                    request.ContentType = null;
       

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!