Subject Re: [firebird-support] Re: Using Firebird With C#
Author Fabio Gomes
I know that firebird listen at port 3050 and i changed the socket stuff to
connect on that port.. but still it didnt work.

But i think that the problem is with the Firebird .NET provider, the
1.7worked just fine.

But thanx for all the help :)

On 3/15/06, Adam <s3057043@...> wrote:
>
>
> > Ok, i did some google research, i managed to open a socket, when i
> opened in
> > port 80 and sent a GET command it worked so it should be fine.. then
> i tried
> > to use firebird with it.. but it didnt work either.. i dont know
> what more i
> > can try :(
>
> Well thats nice but it is of no interest.
>
> It tells you there is a webserver running, but that does not mean that
> Firebird is running. Firebird does not listen to port 80, it listens
> to 3050 so that is what you needed to test. In any case I can see you
> have since resolved it.
>
> Adam
>
>
>
> >
> > Here is my code:
> >
> > using System;
> > using System.Collections.Generic;
> > using System.ComponentModel;
> > using System.Data;
> > using System.Drawing;
> > using System.Text;
> > using System.Windows.Forms;
> > using System.Net;
> > using System.Net.Sockets;
> > using FirebirdSql.Data.FirebirdClient;
> >
> > namespace WindowsApplication1
> > {
> > public partial class Form1 : Form
> > {
> > public Form1()
> > {
> > InitializeComponent();
> > }
> >
> > private void Form1_Load(object sender, EventArgs e)
> > {
> > Socket sock = new Socket(AddressFamily.InterNetwork,
> > SocketType.Stream, ProtocolType.Tcp);
> >
> > sock.Connect("192.168.15.101",3050);
> >
> > string connectionString =
> > "User=SYSDBA;" +
> > "Password=masterkey;" +
> > "Database=/home/trab/SiadPHP/testes/siad.gdb;" +
> > "DataSource=192.168.15.101 ;" +
> > "Port=3050;" +
> > "Dialect=3;" +
> > "Charset=ISO8859_1;";
> >
> > FbConnection myConnection1 = new
> FbConnection(connectionString);
> > myConnection1.Open();
> >
> > }
> > }
> > }
> >
> >
> > [Non-text portions of this message have been removed]
> >
>
>
>
>
>
>
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>
> Visit http://firebird.sourceforge.net and click the Resources item
> on the main (top) menu. Try Knowledgebase and FAQ links !
>
> Also search the knowledgebases at http://www.ibphoenix.com
>
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>
>
>
>
> SPONSORED LINKS
> Technical support<http://groups.yahoo.com/gads?t=ms&k=Technical+support&w1=Technical+support&w2=Computer+technical+support&w3=Compaq+computer+technical+support&w4=Compaq+technical+support&w5=Hewlett+packard+technical+support&w6=Microsoft+technical+support&c=6&s=196&.sig=-XIO8GxY6hqd3NaD5WSEyw> Computer
> technical support<http://groups.yahoo.com/gads?t=ms&k=Computer+technical+support&w1=Technical+support&w2=Computer+technical+support&w3=Compaq+computer+technical+support&w4=Compaq+technical+support&w5=Hewlett+packard+technical+support&w6=Microsoft+technical+support&c=6&s=196&.sig=B29J78SYXnNTjjMFBMznqA> Compaq
> computer technical support<http://groups.yahoo.com/gads?t=ms&k=Compaq+computer+technical+support&w1=Technical+support&w2=Computer+technical+support&w3=Compaq+computer+technical+support&w4=Compaq+technical+support&w5=Hewlett+packard+technical+support&w6=Microsoft+technical+support&c=6&s=196&.sig=7_je1A94xs82CFXUjEqA6g> Compaq
> technical support<http://groups.yahoo.com/gads?t=ms&k=Compaq+technical+support&w1=Technical+support&w2=Computer+technical+support&w3=Compaq+computer+technical+support&w4=Compaq+technical+support&w5=Hewlett+packard+technical+support&w6=Microsoft+technical+support&c=6&s=196&.sig=2zMAuRCo5cJrVBr1Bxa3_w> Hewlett
> packard technical support<http://groups.yahoo.com/gads?t=ms&k=Hewlett+packard+technical+support&w1=Technical+support&w2=Computer+technical+support&w3=Compaq+computer+technical+support&w4=Compaq+technical+support&w5=Hewlett+packard+technical+support&w6=Microsoft+technical+support&c=6&s=196&.sig=_ytYU7aXb57AVaeUfmvLcA> Microsoft
> technical support<http://groups.yahoo.com/gads?t=ms&k=Microsoft+technical+support&w1=Technical+support&w2=Computer+technical+support&w3=Compaq+computer+technical+support&w4=Compaq+technical+support&w5=Hewlett+packard+technical+support&w6=Microsoft+technical+support&c=6&s=196&.sig=4hRo6NXYavRAbTkaYec5Lw>
> ------------------------------
> YAHOO! GROUPS LINKS
>
>
> - Visit your group "firebird-support<http://groups.yahoo.com/group/firebird-support>"
> on the web.
>
> - To unsubscribe from this group, send an email to:
> firebird-support-unsubscribe@yahoogroups.com<firebird-support-unsubscribe@yahoogroups.com?subject=Unsubscribe>
>
> - Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> Service <http://docs.yahoo.com/info/terms/>.
>
>
> ------------------------------
>


[Non-text portions of this message have been removed]