Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Did you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now

Reply
caomayan
Helper I
Helper I

SFTP connection fails in Fabric

Good day!

I am trying to send csv file to an internal SFTP server, the connection on Power BI gateway works but fails in Fabric.

 

The error message is: Meet network issue when connect to Sftp server xxxxxx,  SocketErrorCode: 'ConnectionRefused'. No connection could be made because the target machine actively refused it

 

Does anyone have the idea about the error?

 

Thanks a lot!

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @caomayan 

 

Make sure that your local machine or Fabric runtime environment can access the SFTP server on the specified port (22 by default). Firewalls or network restrictions may prevent connections.

 

Solved: Internal Error Occurred - SFTP Connection - Microsoft Fabric Community

 

You can try entering your SFTP server address. For example: example.com. If the server uses a non-default port (22), add the port number to the address, for example: example.com:2222.

 

vnuocmsft_0-1724290854631.png

 

Regards,

Nono Chen

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @caomayan 

 

Make sure that your local machine or Fabric runtime environment can access the SFTP server on the specified port (22 by default). Firewalls or network restrictions may prevent connections.

 

Solved: Internal Error Occurred - SFTP Connection - Microsoft Fabric Community

 

You can try entering your SFTP server address. For example: example.com. If the server uses a non-default port (22), add the port number to the address, for example: example.com:2222.

 

vnuocmsft_0-1724290854631.png

 

Regards,

Nono Chen

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
April Fabric Update Carousel

Fabric Monthly Update - April 2026

Check out the April 2026 Fabric update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.