0

I want to consume the spring boot rest services deployed behind a firewall. Need a solution for the above scenario. Thank you.

Swati N
  • 109
  • 1
  • 1
  • 4
  • What does "private" mean here? Are they behind a firewall that you aren't granted access to? It's a poorly posed question. – duffymo Dec 05 '20 at 11:15
  • Yes behind a firewall. – Swati N Dec 05 '20 at 11:28
  • If they aren't listening on port 80 then you'll have to arrange with the owner of the firewall to open another port for you. If you can't do that, then you shouldn't have access. That's the whole point of the firewall. – duffymo Dec 05 '20 at 11:45

1 Answers1

1

To access a Rest API behind a firewall you need to open the default HTTP ports in that firewall(80 for HTTP and 443).

That has nothing to do with the technology that you are using to implement the Rest API.

Please provide more details about your question if this is not enough answer for you...

Ahmed Daraz
  • 81
  • 1
  • 3
  • Actually, Our project based on Active Directory. We have Client jar deployed at the client end and Server Jar present in our local network. We want to establish communication between the two. – Swati N Dec 05 '20 at 12:05
  • Client should give you access in order to establish communication as its not possible without that. – Akshay Jain Dec 05 '20 at 12:07
  • Will it be possible by tunnelling? – Swati N Dec 05 '20 at 16:02
  • That is still not enough description... if you want to make direct communication between client/server. you can setup a VPN server and joining the VPN network from the client side. – Ahmed Daraz Dec 05 '20 at 19:51