[p4] (2) Problems with P4WEB

Andres Fuentes andres.fuentes at altana.es
Mon Jun 19 02:21:53 PDT 2006


Thanks Stephen.
 
the p4port is ok and the firewall is configured correctly.
 
...I don't know why, but doing many tests, after a p4d restart with different arguments the p4web runs fine.
 
Regards,
 
Andrés
 

-----Mensaje original-----
De: Stephen Vance [mailto:steve at vance.com]
Enviado el: viernes, 16 de junio de 2006 20:43
Para: Andres Fuentes
CC: Lee Marzke; perforce-user at perforce.com
Asunto: Re: [p4] (2) Problems with P4WEB


What is the P4PORT setting for your server?

If it's 1666, then you should be okay. If it lists a specific host name or IP address, then p4d is listening only on that interface and not on localhost.

Also make sure you don't have a firewall running that is blocking the port.

Steve

Andres Fuentes wrote: 

Hello all 

(and Thanks Lee).





The windows client connects successsfully to Perforce server, which runs fine.

Whe I start the p4web on Linux server :

-------------------------------

nuevoperforce:/etc # p4web -w 8080 -B -p nuevoperforce:1666 &

[1] 13423

nuevoperforce:/etc #

P4Web started on host nuevoperforce.

User: root, Client: nuevoperforce, Port: nuevoperforce:1666

Version: P4Web/2003.2/LINUX24X86/65591



If your web browser is running on nuevoperforce,

 for speed purposes, please point your browser to:

   http://localhost:8080/



but if your web browser is running on a machine other than nuevoperforce,

please point your browser to:

   http://nuevoperforce:8080/

-------------------------------



But when I try to access to p4web from my web-browser I can see the P4WEB header...but the follow message appears :



Connect to server failed; check $P4PORT. TCP connect to nuevoperforce:1666 failed. connect: nuevoperforce:1666: Connection refused



The running process :



root     13423  0.0  0.0   2772   580 pts/2    S    16:30   0:00 p4web -w 8080 -B -p nuevoperforce:1666





Same days ago, whe I installed the p4web and it runs ok, I had configured the firewall and all was fine. Today, after server restart, p4web isn't ok...also I'm trying with the firewall disconected. (?)



I'm testing with   http://nuevoperforce &  http://10.10.10.190 &  http://nuevoperforce.dns.altana.es  and always have the same mistake. (?)







Any idea?











Thanks in advance









Andrés









-----Mensaje original-----

De: Lee Marzke [ mailto:lee at marzke.net]

Enviado el: viernes, 16 de junio de 2006 16:17

Para: Andres Fuentes

CC:  perforce-user at perforce.com

Asunto: Re: [p4] Problems with P4WEB





Can clients connect to the server successfully ?

Is a firewall running on the new server ?



You also could have a DNS problem.    Try using the IP of the server instead



P4PORT=xxx.xxx.xxx.xxx:1666



Use standard network debugging techniques to determine why the 

connection fails.



Lee Marzke





Andres Fuentes wrote:

  

	Hello all,



I'm working with a new server which I installed Perforce and defect tracker (Bugzilla).........I'm in testing time, for that I restarted the server and...now the Perforce work fine, but I've problems with the client web (P4WEB) which was ok before restart (?)



When I consult a bug (Bugzilla) and try to see it's information with P4WEB...I can see the main page of P4WEB but don't appears the information related, because an error :

Connect to server failed; check $P4PORT. TCP connect to nuevoperforce:1666 failed. connect: nuevoperforce:1666: Connection refused 





But the $P4PORT is correct! ...if don't the Perforce doesn't work, and it's fine.....



Please, anybody could help me with an idea?







Thanks in advance







Andrés





_______________________________________________

perforce-user mailing list  -   perforce-user at perforce.com

http://maillist.perforce.com/mailman/listinfo/perforce-user

  

    



_______________________________________________

perforce-user mailing list  -   perforce-user at perforce.com

http://maillist.perforce.com/mailman/listinfo/perforce-user



  



More information about the perforce-user mailing list