APM 2.8 does not recognise gps

By the way which serial port is gps in apm 2.8?

Look here:
APM Archived
Or just Google ā€œAPM GPS portā€ or something like that and find some old linksā€¦