Pregunta

Error al conectar con SQL IP externa del servidor SQL Management Studio dirección de 2005

TÍTULO: Conectar al servidor

No se puede conectar a 1.2.3.4 \ SQLEXPRESS.

INFORMACIÓN ADICIONAL:

Se ha producido un error relacionado con la red o instancia específica mientras establecer una conexión a SQL Servidor. no se encontró el servidor o no era accesible. Verificar que el nombre de la instancia es correcta y que SQL Servidor está configurado para permitir el control remoto conexiones. (Proveedor: red de SQL Interfaces, error: 26 - Error de posicionamiento Servidor / instancia especificado) (Microsoft SQL Server, Error: -1)

Para obtener ayuda, haga clic en: http: // go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&EvtSrc=MSSQLServer&EvtID=-1&LinkId=20476

¿Fue útil?

Solución

Make sure that remote server allows connection to port 1433/tcp, e.g.:

using telnet client (in Windows 7 isn't installed by default, to install use Turn Windows features):

telnet 1.2.3.4 1433

or using nmap (port scanner)

nmap -sT -r -n -vv -p1433 1.2.3.4

If doesn't allow - check inbound firewall rules.

Otros consejos

By default, SQL Server 2005 doesn’t allow remote connection so you have to enable it manually. So if @abatishchev's solution doesn't get you going; it may be you haven't set the permissions to connect.

Run the Surface Area Configuration Manager (it should be in the SQL Server folder in My Programs under Configuration Tools). Choose Surface Area Configuration for Services and Connections Select your server expand database engine and then remote connections and enable TCP/IP and / or tcp/ip and named pipes. Click Apply.

Whilst you are here check the SQL Server Browser is set to run. Expand it out and choose the service; change the startup type to be Automatic.

Try again in management studio express to connect to the machine.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top