Send xmlhttprequest to a server via another server - xmlhttprequest

I have tow servers (server A and B) which can communicate between them and a client that is able to communicate just with sever A and not with B. so I want to known if it is possible to send xmlhttprequest from the client to server A first and after that the server A resend this xmlhttprequest to server B.
Client ==》 server A ==》 server B

Related

How to create a proxy server to bypass IP whitelist

We have an apache server is running in server A.
We have an webservice is running in server B which is enable IP whitelist. So only server A can use request to web service.
I am using browser in machine C which only able to access to server B. How can I create a proxy server in A so that become a middle man that allow machine C can access the webservice in B.

Access SQL by server name in different segment

I have 2 server, that is server A and server B and both are currently using SQL Server 2016.Server A is in 192.168.10.xxx network and I can connect to it via IP address from server B but not via server name because it is in different network.
And server B is in 192.168.2.xxx network and I also can connect to it via IP address from server A but not via server name because it is in different network.
I want to create a peer to peer replication for server A and server B.
But I can't, because to add a new node in the Configure Peer-To-Peer Topology it must specify a server name, not the IP address of the server.
This is the error that I get when specifying the IP address of the server when adding another peer node in configure peer-to-peer topology.
SQL Server replication requires the actual server name to make a connection to the server. Specify the actual server name, ''. (Replication.Utilities)
This is the error that I get when specifying the server name of the server when adding another peer node in configure peer-to-peer topology.
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) (Microsoft SQL Server, Error: 53)
How do I solve this?

Do I need SSL Certificate for SQL Server and Web Server?

I am currently developing a website in C#, It requires to send requests to remote SQL Server.
I need to encrypt any communications from the client to the web server and to the SQL Server.
The SQL Server is currently used locally by another windows application, so the SQL server is being used locally and remotely.
So my concern is do I need to install cert for both servers ? If so will there be any connection problem between windows application and sql server ?
Thanks
you would only need a certificate on your sql server
use the encypt=yes option in your connection string on the web server.

Create Windows Desktop widget which connects to SQL Server

I want to create a desktop widget for Windows 7.
My requirements are below
I can provide SQL Server login credentials
It should connect to SQL Server
List out all the jobs in the server
Can anyone guide me on how to do this and where to start from?
Perhaps create a middle layer, that returns XML/JSON/HTML/..., that your widget can call through HTTP?
SQL Server 2005 supported native XML web services using SOAP/HTTP endpoints.
It's been deprecated in sql server 2008.
Your best bet would be to create a small HTTP server that acts as a broker between your SQL Server and desktop widgets.
You can find C# example code for HTTP server on Google.
http://www.google.is/search?hl=is&q=c%23+simple+http+server
Then let your widget just call the HTTP server for the information you want to display.
PS: Make your HTTP server log on and talk to the SQL Server, don't send database credentials (or ay other for that matter) over HTTP.

SSMS: connecting to a network server database

i need to connect to a database that is on a different server on the company network
i am using sql server 2005
i went to connect to server --> browse for more --> Network servers
but in the network servers list i am not seeing the server that i need.
how do i find the server that i need and connect to it?
You can type in either the Server name or the IP address. The server may be configured to not broadcast its existance
Type the server name into the Server text box if it's not appearing in the browse list.